MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / tokenize

Method tokenize

crates/gitql-parser/src/tokenizer.rs:32–35  ·  view source on GitHub ↗
(chars: &'a str)

Source from the content-addressed store, hash-verified

30 }
31
32 pub fn tokenize(chars: &'a str) -> Result<Vec<Token>, Box<Diagnostic>> {
33 let chars: Vec<char> = chars.chars().collect();
34 Tokenizer::new(&chars).tokenize_characters()
35 }
36
37 fn current_source_location(&self) -> SourceLocation {
38 SourceLocation {

Callers

nothing calls this directly

Calls 1

tokenize_charactersMethod · 0.80

Tested by

no test coverage detected