Module: EDNGRAMMAR::Tagged1

Defined in:
lib/parser/edngrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



1523
1524
1525
1526
1527
1528
# File 'lib/parser/edngrammar.rb', line 1523

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