Tokenizes a single line of content. This is useful for tokenizing individual lines without creating an iterator over the entire content.
(line_content: &[u8], options: &TokenizeOptions)
| 150 | /// This is useful for tokenizing individual lines without creating |
| 151 | /// an iterator over the entire content. |
| 152 | pub fn tokenize_line(line_content: &[u8], options: &TokenizeOptions) -> TokenizedLine { |
| 153 | Self::tokenize_line_internal(line_content, 0, options) |
| 154 | } |
| 155 | |
| 156 | /// Internal method to tokenize a line with a specific line number. |
| 157 | pub(crate) fn tokenize_line_internal( |
nothing calls this directly
no outgoing calls
no test coverage detected