def classify.hold.hash

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

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

160# a comment keeps its text; anything else is whitespace or a keyword
161def classify.hold.hash(is_hash: Bool, space: Bool, xx: U32, cc: Char, tt: String) -> Cls & String:
162  match is_hash:
163    case True{}:
164      (LComment{SCon{cc, tt}}, SNil{})
165    case False{}:
166      classify.hold.space(space, xx, cc, tt)

Uses (8)

Used by (1)