def classify.kimp

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

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

124# `import `, else `def `
125def classify.kimp(hit: Bool, +xx: U32, tt: String) -> Cls:
126  match hit:
127    case True{}:
128      classify.kw(String.starts_with(tt, "mport "), LImport{})
129    case False{}:
130      classify.kdef(U32.is_eq(xx, 100), xx, tt) # 'd'

Uses (8)

Used by (1)