def lex_empty_object_reverse_before_punctuation

qasim-bend-kit@0.1.0.2 · proof/JSON_SourceProof.bend:889

import qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend as JSONSourceProof
import Base
import qasim-bend-kit@0.1.0.2/libs/JSON.bend as J

889def lex_empty_object_reverse_before_punctuation(+punctuation: Char,
890                                                +suffix: String,
891                                                +acc: List<&2, J.Lexeme>,
892                                                action: {J.lex_seed_action(SCon{punctuation, suffix}, J.Outside{}) == J.LexPunctuation{punctuation} : J.LexAction}) -> {J.lex_scan(J.render(J.Obj{Nil{}}, False{}, SNil{}) ++ (SCon{punctuation, SNil{}} ++ suffix), J.Outside{}, SNil{}, acc) == J.lex_scan(suffix, J.Outside{}, SNil{}, J.Punctuation{punctuation} <> List.append(&2, J.Lexeme, List.reverse(&2, J.Lexeme, J.source(J.Obj{Nil{}}, False{}, Nil{})), acc)) : List<&2, J.Lexeme>}:
893    lex_source_empty_object_before_punctuation(punctuation, suffix, acc, action)

Uses (16)

Used by (2)