Class: Dhall::EmptyRecord
- Inherits:
-
Expression
show all
- Includes:
- Enumerable
- Defined in:
- lib/dhall/ast.rb,
lib/dhall/normalize.rb
Instance Method Summary
collapse
Methods inherited from Expression
#&, #*, #+, #as_dhall, #cache_key, #call, #concat, decode, #deep_merge_type, #dhall_eq, #digest, #fusion, #resolve, #shift, #substitute, #to_binary, #to_cbor, #to_proc, #to_s, #|
Instance Method Details
#as_json ⇒ Object
835
836
837
|
# File 'lib/dhall/ast.rb', line 835
def as_json
[8, {}]
end
|
#deep_merge(other) ⇒ Object
823
824
825
|
# File 'lib/dhall/ast.rb', line 823
def deep_merge(other)
other
end
|
#each ⇒ Object
803
804
805
|
# File 'lib/dhall/ast.rb', line 803
def each
self
end
|
#fetch(k, default = nil, &block) ⇒ Object
815
816
817
|
# File 'lib/dhall/ast.rb', line 815
def fetch(k, default=nil, &block)
{}.fetch(k, *default, &block)
end
|
#keys ⇒ Object
811
812
813
|
# File 'lib/dhall/ast.rb', line 811
def keys
[]
end
|
#map ⇒ Object
831
832
833
|
# File 'lib/dhall/ast.rb', line 831
def map
self
end
|
#merge(other) ⇒ Object
827
828
829
|
# File 'lib/dhall/ast.rb', line 827
def merge(other)
other
end
|
#normalize ⇒ Object
320
321
322
|
# File 'lib/dhall/normalize.rb', line 320
def normalize
self
end
|
#slice ⇒ Object
819
820
821
|
# File 'lib/dhall/ast.rb', line 819
def slice(*)
self
end
|
#to_h ⇒ Object
807
808
809
|
# File 'lib/dhall/ast.rb', line 807
def to_h
{}
end
|