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 2535a85a_8e60_effd_85c6_5b80f4dcc82f["pre_process_input()"] b82a42d6_b7d3_c6d2_1e14_451f8382da81["mod.rs"] 2535a85a_8e60_effd_85c6_5b80f4dcc82f -->|defined in| b82a42d6_b7d3_c6d2_1e14_451f8382da81 d7d2a290_6465_d83b_ad3d_f71ae61d67dc["read_changed_content()"] d7d2a290_6465_d83b_ad3d_f71ae61d67dc -->|calls| 2535a85a_8e60_effd_85c6_5b80f4dcc82f style 2535a85a_8e60_effd_85c6_5b80f4dcc82f 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
Defined In
Called By
Source
Frequently Asked Questions
What does pre_process_input() do?
pre_process_input() is a function in the tailwindcss codebase, defined in crates/oxide/src/scanner/mod.rs.
Where is pre_process_input() defined?
pre_process_input() is defined in crates/oxide/src/scanner/mod.rs at line 480.
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