MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / is_boundary_char

Function is_boundary_char

src/classmap_scanner.rs:1571–1573  ·  view source on GitHub ↗
(c: u8)

Source from the content-addressed store, hash-verified

1569/// Check if a character is a valid boundary (not part of an identifier).
1570#[inline]
1571fn is_boundary_char(c: u8) -> bool {
1572 !c.is_ascii_alphanumeric() && c != b'_' && c != b':' && c != b'$'
1573}
1574
1575/// Find the next single-quote or backslash in a slice, returning the
1576/// offset and the byte found. Uses `memchr` for SIMD acceleration.

Callers 2

is_preceded_by_useFunction · 0.85
is_keyword_boundaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected