module DhallishGrammar::TextAppendExpression2
Public Instance Methods
to_node()
click to toggle source
# File lib/DhallishGrammar.rb, line 4211 def to_node() tail.elements.reduce(exp.to_node()) { |tree, node| Dhallish::Ast::BinaryArithOpNode.new([Dhallish::Types::Text], tree, node.exp.to_node(), "+") { |x, y| x + y } } end