Module: CDDLGRAMMAR::Cddlgrammar2

Defined in:
lib/parser/cddlgrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



30
31
32
# File 'lib/parser/cddlgrammar.rb', line 30

def ast
  ["cddl", *elements[1].elements.map(&:r__rule).map(&:ast)]
end