Module: DhallishGrammar::ImportAlternativeExpression2

Defined in:
lib/DhallishGrammar.rb

Instance Method Summary collapse

Instance Method Details

#to_nodeObject



3132
3133
3134
3135
3136
# File 'lib/DhallishGrammar.rb', line 3132

def to_node()
tail.elements.reduce(exp.to_node()) { |tree, node|
  Dhallish::Ast::Import_Alternative.new tree, node.alternative.to_node()
}
end