def declared.is_key

bolt@1.27.0.0 · src/syntax/bind.bend:98

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

98# a keyword?
99def declared.is_key(kk: Lex.TokKind) -> Bool:
100  match kk:
101    case Lex.TKey{}:
102      True{}
103    case other:
104      False{}

Uses (2)

Used by (1)