pre_process_input() — tailwindcss Function Reference
Architecture documentation for the pre_process_input() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 09fb3cad_189e_f26c_b707_e8906dfa56a8["pre_process_input()"] c2328155_87f1_bade_2ea6_fa7f1910a5ef["read_changed_content()"] c2328155_87f1_bade_2ea6_fa7f1910a5ef -->|calls| 09fb3cad_189e_f26c_b707_e8906dfa56a8 style 09fb3cad_189e_f26c_b707_e8906dfa56a8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/scanner/mod.rs lines 480–498
pub fn pre_process_input(content: &[u8], extension: &str) -> Vec<u8> {
use crate::extractor::pre_processors::*;
match extension {
"clj" | "cljs" | "cljc" => Clojure.process(content),
"heex" | "eex" | "ex" | "exs" => Elixir.process(content),
"cshtml" | "razor" => Razor.process(content),
"haml" => Haml.process(content),
"json" => Json.process(content),
"md" | "mdx" => Markdown.process(content),
"pug" => Pug.process(content),
"rb" | "erb" => Ruby.process(content),
"slim" | "slang" => Slim.process(content),
"svelte" => Svelte.process(content),
"rs" => Rust.process(content),
"vue" => Vue.process(content),
_ => content.to_vec(),
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does pre_process_input() do?
pre_process_input() is a function in the tailwindcss codebase.
What calls pre_process_input()?
pre_process_input() is called by 1 function(s): read_changed_content.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free