Outline.ends_colon: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/outline.bend as Outline Lines 326-329 of bolt@1.27.0.0/src/syntax/outline.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/outline.bend&start_line=326&end_line=329 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # the line's last token that is not a space or a comment is `:`, so a header # ends at its `:` though a comment follows it (`def f() -> U32: # note`) def ends_colon(ss: String) -> Bool: ends_colon.go(Lex.tokens(ss), False{}) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=tokens https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/outline.bend&name=ends_colon.go