def is_name_tok

bolt@1.27.0.0 · src/syntax/tree.bend:398

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

398# an identifier of any kind (what `<` glues to)
399def is_name_tok(tok: Lex.Tok) -> Bool:
400  Lex.Tok{k, t, l, c} = tok
401  Lex.is_name(k)

Uses (3)

Used by (1)