Module: EDNGRAMMAR::Tagged1

Defined in:
lib/parser/edngrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



1472
1473
1474
1475
1476
1477
# File 'lib/parser/edngrammar.rb', line 1472

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