module DhallishGrammar::ImportExpression2

Public Instance Methods

to_node() click to toggle source
# 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