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
260 261 262 |
# File 'lib/dhall/binary.rb', line 260 def self.decode(*args) new(*args) end |
Instance Method Details
#as_json ⇒ Object
1680 1681 1682 |
# File 'lib/dhall/ast.rb', line 1680 def as_json [] end |
#canonical ⇒ Object
1657 1658 1659 |
# File 'lib/dhall/ast.rb', line 1657 def canonical self end |
#chain_onto ⇒ Object
1653 1654 1655 |
# File 'lib/dhall/ast.rb', line 1653 def chain_onto(*) self end |
#eql?(other) ⇒ Boolean Also known as: ==
1675 1676 1677 |
# File 'lib/dhall/ast.rb', line 1675 def eql?(other) other.class == self.class end |
#location ⇒ Object
1671 1672 1673 |
# File 'lib/dhall/ast.rb', line 1671 def location Union.from(Location, "Missing", nil) end |
#origin ⇒ Object
1665 |
# File 'lib/dhall/ast.rb', line 1665 def origin; end |
#resolve ⇒ Object
1661 1662 1663 |
# File 'lib/dhall/ast.rb', line 1661 def resolve(*) Promise.new.reject(ImportFailedException.new("missing")) end |
#to_s ⇒ Object
1667 1668 1669 |
# File 'lib/dhall/ast.rb', line 1667 def to_s "missing" end |