MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / start_range

Method start_range

src/parse_to_ast.rs:141–146  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

139 }
140
141 pub fn start_range(&mut self) {
142 self.range_stack.push(Range {
143 start: self.scanner.token_start(),
144 end: 0,
145 });
146 }
147
148 pub fn end_range(&mut self) -> Range {
149 let mut range = self

Callers 3

parse_objectFunction · 0.80
parse_object_propertyFunction · 0.80
parse_arrayFunction · 0.80

Calls 1

token_startMethod · 0.80

Tested by

no test coverage detected