Module: EDNGRAMMAR::Array3
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 |
# File 'lib/parser/edngrammar.rb', line 1380 def ast r = if e = elements[2].elements [e[0].ast] + e[2].elements.map {|x| x.item.ast } else [] end if spec.ast r.cbor_stream! end r end |