Pull.look.plan: def of emerging-ezjson@1.3.0.0 Import: import emerging-ezjson@1.3.0.0/src/pull.bend as Pull Lines 520-539 of emerging-ezjson@1.3.0.0/src/pull.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&start_line=520&end_line=539 import Base import emerging-ezjson@1.3.0.0/src/lex.bend as Lex # one character between tokens. The suffix stays with the stepper: a bracket # closes on it, a comma does not keep it, and a word keeps only its own char def look.plan( ch: Char, +stack: List<&2, Frame>, +goal: Goal, +done: Bool, cls: Lex.Class ) -> St: match cls: case Lex.CSpace{}: idle.space(stack, goal, done) case Lex.CPunct{tok}: punct.on(tok, stack, goal, done) case Lex.CQuote{}: look.quote(stack, goal, done, expect.str.for(stack, goal, done)) case Lex.CBack{}: err.st(goal) case Lex.COther{}: look.word(ch, stack, goal, done, expect.val(stack, done)) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/lex.bend&name=Class https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Goal https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=St https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=err.st https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=expect.str.for https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=expect.val https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=idle.space https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=look.quote https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=look.word https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=punct.on