def closing

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

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

1732# A generic's closing > stays glued to the term before it: Bend parses a
1733# spaced > as a comparison, even across a newline.
1734def closing(close: Token, comments: Bool) -> Doc:
1735  Bool.pick(Doc, is_sym(Token.sym(close), Gt{}), nothing(), opening(comments))

Uses (9)

Used by (1)