Module: DhallishGrammar::ListConcatExpression2
- Defined in:
- lib/DhallishGrammar.rb
Instance Method Summary collapse
Instance Method Details
#to_node ⇒ Object
4109 4110 4111 4112 4113 |
# File 'lib/DhallishGrammar.rb', line 4109 def to_node() tail.elements.reduce(exp.to_node()) { |tree, node| Dhallish::Ast::ListConcatNode.new(tree, node.exp.to_node()) } end |