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
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 |
# File 'lib/parser/edngrammar.rb', line 2146 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 |