Tree.binds_in: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/tree.bend as Tree Lines 277-287 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=277&end_line=287 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # a `=` or `<-` among a statement's own tokens def binds_in(kids: Node) -> Bool: match kids: case NCons{Leaf{Lex.Tok{Lex.TEq{}, t, l, c}}, rest}: True{} case NCons{Leaf{Lex.Tok{Lex.TBind{}, t, l, c}}, rest}: True{} case NCons{h, rest}: binds_in(rest) case other: False{} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=Tok https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=TokKind https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/tree.bend&name=Node