MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / parse_value

Function parse_value

std/json/src/main/parser.rs:27–30  ·  view source on GitHub ↗
(tk: &mut Tokenizer, ctx: &LoadCtx)

Source from the content-addressed store, hash-verified

25}
26
27fn parse_value(tk: &mut Tokenizer, ctx: &LoadCtx) -> Result<Handle> {
28 let t = tk.next_token().map_err(to_pdk_err)?;
29 parse_value_with(tk, t, ctx)
30}
31
32fn parse_value_with(tk: &mut Tokenizer, t: Token, ctx: &LoadCtx) -> Result<Handle> {
33 match t {

Callers 3

parseFunction · 0.85
parse_objectFunction · 0.85
parse_object_pairsFunction · 0.85

Calls 2

parse_value_withFunction · 0.85
next_tokenMethod · 0.45

Tested by

no test coverage detected