def show_close

bolt@1.27.0.0 · src/syntax/tree.bend:437

import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

437# a group's close bracket, `..` when it never closed
438def show_close(close: Maybe<&2, Lex.Tok>) -> String:
439  match close:
440    case None{}:
441      ".."
442    case Some{Lex.Tok{k, t, l, c}}:
443      t

Uses (3)

Used by (1)