Chars.literal: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/perf/chars.bend as Chars Lines 27-33 of bolt@1.27.0.0/src/rules/perf/chars.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/perf/chars.bend&start_line=27&end_line=33 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex import bolt@1.27.0.0/src/syntax/tree.bend as Tree # one when a case pattern opens with a character literal, else zero def literal(kids: Tree.Node) -> U32: match kids: case Tree.NCons{Tree.Leaf{Lex.Tok{Lex.TChar{}, t, l, c}}, rest}: 1 case other: 0 Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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