def classify.ktype

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

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

92# `type `, once the `t` is known
93def classify.ktype(hit: Bool, tt: String) -> Cls:
94  match hit:
95    case True{}:
96      classify.kw(String.starts_with(tt, "ype "), LType{})
97    case False{}:
98      LOther{}

Uses (5)

Used by (1)