def skip.piece

bolt@1.27.0.0 · src/rules/suspicious/prefix.bend:142

import bolt@1.27.0.0/src/rules/suspicious/prefix.bend as Prefix
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

142# what a token adds to the argument's text, given where it leaves the scan:
143# nothing for the comma that ends the argument
144def skip.piece(sk: Skip, kk: Lex.TokKind, +tt: String) -> String:
145  match sk:
146    case SComma{}:
147      ""
148    case other:
149      piece(kk, tt)

Uses (4)

Used by (1)