Module: DhallishGrammar::AnnotatedExpression2

Defined in:
lib/DhallishGrammar.rb

Instance Method Summary collapse

Instance Method Details

#to_nodeObject



3234
3235
3236
3237
3238
# File 'lib/DhallishGrammar.rb', line 3234

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