Tree.put_stmt: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/tree.bend as Tree Lines 267-275 of bolt@1.27.0.0/src/syntax/tree.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/tree.bend&start_line=267&end_line=275 import Base # a finished statement lands in the body of the frame below def put_stmt(stack: List<&2, Frame>, nn: Node) -> List<&2, Frame>: match stack: case Con{FStmt{indent, kids, body}, rest}: FStmt{indent, kids, NCons{nn, body}} <> rest case Con{FRoot{body}, rest}: FRoot{NCons{nn, body}} <> rest case other: other Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/tree.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/tree.bend&name=Node