Sets whether to use code-aware tokenization. When enabled, the tokenizer recognizes multi-character operators, string literals, numeric literals, and comments.
(mut self, aware: bool)
| 78 | /// When enabled, the tokenizer recognizes multi-character operators, |
| 79 | /// string literals, numeric literals, and comments. |
| 80 | pub fn with_code_aware(mut self, aware: bool) -> Self { |
| 81 | self.code_aware = aware; |
| 82 | self |
| 83 | } |
| 84 | |
| 85 | /// Sets whether to include newline tokens. |
| 86 | pub fn with_include_newlines(mut self, include: bool) -> Self { |
no outgoing calls