def check.or_angle
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
227# angle motion when the token was not a bracket, else that bracket
228def check.or_angle(closed: Act, kk: Lex.TokKind, +tx: String, glued: Bool) -> Act:
229 match closed:
230 case ANone{}:
231 check.angle_act(kk, tx, glued)
232 case other:
233 check.keep(other, kk, tx, glued)