has_valid_boundaries() — tailwindcss Function Reference
Architecture documentation for the has_valid_boundaries() function in boundary.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 974d7578_3e3b_826b_1bc2_090fb9d6586e["has_valid_boundaries()"] 10088e42_6906_45c9_2cad_2bcb894ee536["is_valid_before_boundary()"] 974d7578_3e3b_826b_1bc2_090fb9d6586e -->|calls| 10088e42_6906_45c9_2cad_2bcb894ee536 a9d2df06_608f_493d_0f10_fb8cdb1e9e17["is_valid_after_boundary()"] 974d7578_3e3b_826b_1bc2_090fb9d6586e -->|calls| a9d2df06_608f_493d_0f10_fb8cdb1e9e17 style 974d7578_3e3b_826b_1bc2_090fb9d6586e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/boundary.rs lines 16–35
pub fn has_valid_boundaries(span: &Span, input: &[u8]) -> bool {
let before = {
if span.start == 0 {
b'\0'
} else {
input[span.start - 1]
}
};
let after = {
if span.end >= input.len() - 1 {
b'\0'
} else {
input[span.end + 1]
}
};
// Ensure the span has valid boundary characters before and after
is_valid_before_boundary(&before) && is_valid_after_boundary(&after)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does has_valid_boundaries() do?
has_valid_boundaries() is a function in the tailwindcss codebase.
What does has_valid_boundaries() call?
has_valid_boundaries() calls 2 function(s): is_valid_after_boundary, is_valid_before_boundary.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free