def open_stmt

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

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

369# a new statement at column c, once the ones it ends are finished; inside a
370# group a line is just more tokens
371def open_stmt(+stack: List<&2, Frame>, +cc: U32) -> List<&2, Frame>:
372  Lazy.stop(List<&2, Frame>, in_group(stack), stack,
373    _u => FStmt{cc, NNil{}, NNil{}} <> end_n(deeper(stack, cc), stack))

Uses (8)

Used by (1)