def of_tokens

bolt@1.27.0.0 · src/syntax/tree.bend:426

import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

426# the items of a source: a chain of statements
427def of_tokens(toks: List<&2, Lex.Tok>) -> Node:
428  finish(run(toks, B{True{}, [FRoot{NNil{}}]}, False{}))

Uses (8)

Used by (2)