def lex.dash

bend-lint-rules@0.2.0.0 · layout/format.bend:633

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import Base

633def lex.dash(word: Bool, keep: String, r: String) -> Scan:
634  match word:
635    case True{}:
636      fixed("<", 1, keep, '<', Lt{})
637    case False{}:
638      fixed("<-", 2, r, '-', Word{})

Uses (6)

Used by (1)