def kind.oper

bolt@1.27.0.0 · src/rules/calls.bend:79

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

79# a plain operator (`-`, `~`, `+`)
80def kind.oper(kk: Lex.TokKind) -> Bool:
81  match kk:
82    case Lex.TOp{}:
83      True{}
84    case other:
85      False{}

Uses (2)

Used by (6)