(b: u8)
| 238 | /// Check if a byte is punctuation. |
| 239 | #[inline] |
| 240 | fn is_punctuation(b: u8) -> bool { |
| 241 | matches!( |
| 242 | b, |
| 243 | b'(' | b')' |
| 244 | | b'{' |
| 245 | | b'}' |
| 246 | | b'[' |
| 247 | | b']' |
| 248 | | b';' |
| 249 | | b',' |
| 250 | | b'.' |
| 251 | | b'@' |
| 252 | | b'#' |
| 253 | | b'$' |
| 254 | | b'`' |
| 255 | | b'\\' |
| 256 | ) |
| 257 | } |
| 258 | |
| 259 | /// Read a word token (identifier/keyword). |
| 260 | fn read_word(&mut self) -> Token<'a> { |
nothing calls this directly
no outgoing calls
no test coverage detected