Tokens.is_lit: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/tokens.bend as Tokens Lines 45-55 of bolt@1.27.0.0/src/rules/tokens.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/tokens.bend&start_line=45&end_line=55 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # a number, a char or a string literal? def is_lit(kk: Lex.TokKind) -> Bool: match kk: case Lex.TNum{}: True{} case Lex.TChar{}: True{} case Lex.TStr{}: True{} case other: False{} Uses (2): 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=TokKind