Module: EDNGRAMMAR::Map3
- Defined in:
- lib/parser/edngrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 |
# File 'lib/parser/edngrammar.rb', line 1543 def ast r = if e = elements[2].elements Hash[ [e[0].ast] + e[2].elements.map {|x| x.kp.ast } ] else {} end if spec.ast r.cbor_stream! end r end |