Creates new options with default settings. Default settings: - `merge_whitespace`: true - `code_aware`: true - `include_newlines`: false - `track_offsets`: true - `max_line_length`: 10KB
()
| 55 | /// - `track_offsets`: true |
| 56 | /// - `max_line_length`: 10KB |
| 57 | pub fn new() -> Self { |
| 58 | Self { |
| 59 | merge_whitespace: true, |
| 60 | code_aware: true, |
| 61 | include_newlines: false, |
| 62 | track_offsets: true, |
| 63 | max_line_length: Self::DEFAULT_MAX_LINE_LENGTH, |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | /// Sets whether to merge consecutive whitespace tokens. |
| 68 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected