Module: EDNGRAMMAR::Tagged1

Defined in:
lib/parser/edngrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



1464
1465
1466
1467
1468
1469
# File 'lib/parser/edngrammar.rb', line 1464

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