Module: EDNGRAMMAR::AppRstring2
- 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
2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 |
# File 'lib/parser/edngrammar.rb', line 2032 def ast # XXX ignoring h and b64 data = elements[0].rawstring.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_raw_diagnostics(e, elements[0].elements[1].elements[1]) raise e end end |