def check.maybe_note

bolt@1.27.0.0 · src/rules/style/wrap.bend:707

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

707# note the token when it is part of a parameter
708def check.maybe_note(sep: Bool, wk: Walk, tok: Lex.Tok) -> Walk:
709  match sep:
710    case True{}:
711      check.drop_tok(tok, wk)
712    case False{}:
713      check.note_args(wk, tok)

Uses (5)

Used by (1)