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

Method exit_container

src/parser.rs:106–108  ·  view source on GitHub ↗

Decrements depth.

(&mut self)

Source from the content-addressed store, hash-verified

104
105 /// Decrements depth.
106 pub fn exit_container(&mut self) {
107 self.depth -= 1;
108 }
109
110 /// Returns an error appropriate for an unexpected token.
111 pub fn unexpected_token_error(&self, token: &Token) -> ParseError {

Callers 5

parse_objectFunction · 0.80
parse_arrayFunction · 0.80
deserialize_tokenFunction · 0.80
tuple_variantMethod · 0.80
struct_variantMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected