Module: EDNGRAMMAR::Tagged1

Defined in:
lib/parser/edngrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



1324
1325
1326
1327
1328
1329
# File 'lib/parser/edngrammar.rb', line 1324

def ast
  if ei = spec.text_value[1..-1]
     warn "*** ignoring unimplemented encoding indicator #{ei.inspect} after tag number #{uint.text_value}"
  end
  CBOR::Tagged.new(uint.text_value.to_i, item.ast)
end