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