def h.doc.content

yaml-for-bend@0.1.1.0 · parse.bend:471

import yaml-for-bend@0.1.1.0/parse.bend as Parse
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

471def h.doc.content(+t: T.Token, +ps: Ps) -> PStep:
472  when(PStep, tok.any(t, [VERSION(), TAG_DIR(), DOC_START(), DOC_END(), STREAM_END()]), u => PGo{empty(pop(ps), tok.start(t))},
473    u => h.node(True{}, False{}, None{}, None{}, None{}, t, ps))

Uses (17)

Used by (1)