def significant

bolt@1.27.0.0 · src/syntax/lex.bend:376

import bolt@1.27.0.0/src/syntax/lex.bend as Lex
import Base

376# not space, a newline or a comment
377def significant(kk: TokKind) -> Bool:
378  match kk:
379    case TSpace{}:
380      False{}
381    case TNewline{}:
382      False{}
383    case TComment{}:
384      False{}
385    case other:
386      True{}

Uses (2)

Used by (6)