def finish
qasim-bend-kit@0.1.0.2 · proof/JSON_RenderLexProof.bend:186
import qasim-bend-kit@0.1.0.2/proof/JSON_RenderLexProof.bend as JSONRenderLexProof
import Base
import qasim-bend-kit@0.1.0.2/libs/JSON.bend as J
import qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend as SP
186def finish(boundary: Boundary, acc: List<&2, J.Lexeme>) -> List<&2, J.Lexeme>:
187 match boundary:
188 case End{}: J.lex_scan(SNil{}, J.Outside{}, SNil{}, acc)
189 case Delimited{mark, suffix}:
190 J.lex_scan(suffix, J.Outside{}, SNil{}, J.Punctuation{SP.punctuation_char(mark)} <> acc)