Json.Lex: type of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/json.bend as Json Lines 39-55 of bend-kube-runtime@0.2.0.0/src/json.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&start_line=39&end_line=55 import Base # What the automaton expects next. # LVal: a value; open says a ']' may close an empty array here # LAfter: ',' or a closer, after a value # LKey: a member key; open says a '}' may close an empty object # LColon: the ':' after a key # LStr: inside a string, reversed; esc is 0, 1 after '\', 2..5 in \uXXXX # LNum, LLit: inside a number or a literal, reversed type Lex is Data: LVal{open: Bool} LAfter{} LKey{open: Bool} LColon{} LStr{buf: String, key: Bool, esc: U32, code: U32} LNum{buf: String} LLit{buf: String} LDone{value: Json} LErr{msg: String} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json