def classify.white.hit

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

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

66# an indented line when the first char is a space, else other
67def classify.white.hit(indent: Bool, acc: List<&2, Char>, hh: Char, rest: String) -> Cls:
68  match indent:
69    case True{}:
70      LIndent{classify.rebuild(acc, SCon{hh, rest})}
71    case False{}:
72      LOther{}

Uses (6)

Used by (1)