MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_code_aware

Method with_code_aware

atomic-core/src/record/workflow/crdt/tokenize/rules.rs:80–83  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 {

Calls

no outgoing calls