def classify.klaw

bolt@1.27.0.0 · src/syntax/outline.bend:100

import bolt@1.27.0.0/src/syntax/outline.bend as Outline
import Base

100# `law `, else `type `
101def classify.klaw(hit: Bool, +xx: U32, tt: String) -> Cls:
102  match hit:
103    case True{}:
104      classify.kw(String.starts_with(tt, "aw "), LLaw{})
105    case False{}:
106      classify.ktype(U32.is_eq(xx, 116), tt) # 't'

Uses (8)

Used by (1)