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

Method token_end

src/scanner.rs:129–131  ·  view source on GitHub ↗

Gets the end position of the token.

(&self)

Source from the content-addressed store, hash-verified

127
128 /// Gets the end position of the token.
129 pub fn token_end(&self) -> usize {
130 self.byte_index
131 }
132
133 /// Gets the current token.
134 pub fn token(&self) -> Option<Token<'a>> {

Callers 7

deserialize_enumMethod · 0.80
deserialize_tokenFunction · 0.80
scan_object_entryMethod · 0.80
scan_array_commaMethod · 0.80
scanMethod · 0.80
end_rangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected