Module: EDNGRAMMAR::AppString2
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
-
#ast ⇒ Object
XXX ignoring h and b64.
Instance Method Details
#ast ⇒ Object
XXX ignoring h and b64
1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/parser/edngrammar.rb', line 1989 def ast # XXX ignoring h and b64 data = elements[0].sqstr.ast.force_encoding(Encoding::UTF_8) # XXX undo .b app = elements[0].app_prefix.text_value begin ::EDNGRAMMAR::APPS[app].decode(app, data) rescue CBOR_DIAG::AppParseError => e app_parser_level1_diagnostics(e, elements[0].elements[1].elements[1]) raise e end end |