Class: Dhall::Import::MissingImport
- Inherits:
-
Object
- Object
- Dhall::Import::MissingImport
- Defined in:
- lib/dhall/ast.rb,
lib/dhall/binary.rb
Class Method Summary collapse
Instance Method Summary collapse
- #as_json ⇒ Object
- #canonical ⇒ Object
- #chain_onto ⇒ Object
- #eql?(other) ⇒ Boolean (also: #==)
- #location ⇒ Object
- #origin ⇒ Object
- #resolve ⇒ Object
- #to_s ⇒ Object
Class Method Details
.decode(*args) ⇒ Object
254 255 256 |
# File 'lib/dhall/binary.rb', line 254 def self.decode(*args) new(*args) end |
Instance Method Details
#as_json ⇒ Object
1630 1631 1632 |
# File 'lib/dhall/ast.rb', line 1630 def as_json [] end |
#canonical ⇒ Object
1607 1608 1609 |
# File 'lib/dhall/ast.rb', line 1607 def canonical self end |
#chain_onto ⇒ Object
1603 1604 1605 |
# File 'lib/dhall/ast.rb', line 1603 def chain_onto(*) self end |
#eql?(other) ⇒ Boolean Also known as: ==
1625 1626 1627 |
# File 'lib/dhall/ast.rb', line 1625 def eql?(other) other.class == self.class end |
#location ⇒ Object
1621 1622 1623 |
# File 'lib/dhall/ast.rb', line 1621 def location Union.from(Location, "Missing", nil) end |
#origin ⇒ Object
1615 |
# File 'lib/dhall/ast.rb', line 1615 def origin; end |
#resolve ⇒ Object
1611 1612 1613 |
# File 'lib/dhall/ast.rb', line 1611 def resolve(*) Promise.new.reject(ImportFailedException.new("missing")) end |
#to_s ⇒ Object
1617 1618 1619 |
# File 'lib/dhall/ast.rb', line 1617 def to_s "missing" end |