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

Method current_source_location

crates/gitql-parser/src/tokenizer.rs:37–44  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

35 }
36
37 fn current_source_location(&self) -> SourceLocation {
38 SourceLocation {
39 line_start: self.line_start,
40 line_end: self.line_end,
41 column_start: self.column_start,
42 column_end: self.column_end,
43 }
44 }
45
46 fn tokenize_characters(&mut self) -> Result<Vec<Token>, Box<Diagnostic>> {
47 let mut tokens: Vec<Token> = Vec::new();

Calls

no outgoing calls

Tested by

no test coverage detected