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 affc22c6_58cd_0b6f_2f96_52f05309dbb8["has_valid_boundaries()"] 1c1c4686_1e3d_a1f8_eb99_942391651877["is_valid_before_boundary()"] affc22c6_58cd_0b6f_2f96_52f05309dbb8 -->|calls| 1c1c4686_1e3d_a1f8_eb99_942391651877 34c96e81_46ef_14ac_3687_9dbf0f7ead5c["is_valid_after_boundary()"] affc22c6_58cd_0b6f_2f96_52f05309dbb8 -->|calls| 34c96e81_46ef_14ac_3687_9dbf0f7ead5c style affc22c6_58cd_0b6f_2f96_52f05309dbb8 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