def check.note_phase

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

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

676# inside the list the token is part of a parameter; outside it is not
677def check.note_phase(
678  mode: Phase,
679  on: Bool,
680  paren: U32,
681  bracket: U32,
682  brace: U32,
683  angle: U32,
684  shut: Span,
685  open: U32,
686  pline: U32,
687  pend: U32,
688  pcol: U32,
689  spans: List<&2, Span>,
690  tok: Lex.Tok
691) -> Walk:
692  match mode:
693    case Args{}:
694      check.note_here(on, Args{}, paren, bracket, brace, angle, shut, open, pline, pend, pcol, spans, tok)
695    case other:
696      check.note_skip(on, other, paren, bracket, brace, angle, shut, open, pline, pend, pcol, spans, tok)

Uses (9)

Used by (1)