def of_tokens
import bolt@1.27.0.0/src/syntax/outline.bend as Outlineimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
527# the top-level items of a source whose tokens are already lexed, in order
528def of_tokens(text: String, toks: List<&2, Lex.Tok>) -> List<&2, Item>:
529 finish(run(String.lines(text), St{Top{}, 0, [], []}, inside(toks)))