Module: DhallishGrammar::ImportExpression2

Defined in:
lib/DhallishGrammar.rb

Instance Method Summary collapse

Instance Method Details

#to_nodeObject



6962
6963
6964
6965
# File 'lib/DhallishGrammar.rb', line 6962

def to_node()
	import_as_text = (as_type.respond_to? :import_type and as_type.import_type.text_value == "Text")
	Dhallish::Ast::Import.new prefix.text_value, src.text_value, import_as_text
end