Class: Dhall::Import::MissingImport

Inherits:
Object
  • Object
show all
Defined in:
lib/dhall/ast.rb,
lib/dhall/binary.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decode(*args) ⇒ Object



260
261
262
# File 'lib/dhall/binary.rb', line 260

def self.decode(*args)
	new(*args)
end

Instance Method Details

#as_jsonObject



1680
1681
1682
# File 'lib/dhall/ast.rb', line 1680

def as_json
	[]
end

#canonicalObject



1657
1658
1659
# File 'lib/dhall/ast.rb', line 1657

def canonical
	self
end

#chain_ontoObject



1653
1654
1655
# File 'lib/dhall/ast.rb', line 1653

def chain_onto(*)
	self
end

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


1675
1676
1677
# File 'lib/dhall/ast.rb', line 1675

def eql?(other)
	other.class == self.class
end

#locationObject



1671
1672
1673
# File 'lib/dhall/ast.rb', line 1671

def location
	Union.from(Location, "Missing", nil)
end

#originObject



1665
# File 'lib/dhall/ast.rb', line 1665

def origin; end

#resolveObject



1661
1662
1663
# File 'lib/dhall/ast.rb', line 1661

def resolve(*)
	Promise.new.reject(ImportFailedException.new("missing"))
end

#to_sObject



1667
1668
1669
# File 'lib/dhall/ast.rb', line 1667

def to_s
	"missing"
end