def finish

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

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

420# the tree once the tokens are over: every group and statement closes
421def finish(st: B) -> Node:
422  B{fr, stack} = st
423  +closed = close_all(stack)
424  root(end_n(stmts(closed), closed))

Uses (6)

Used by (1)