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
#&, #*, #+, #annotate, #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
876
877
878
|
# File 'lib/dhall/ast.rb', line 876
def as_json
[8, {}]
end
|
#deep_merge(other) ⇒ Object
864
865
866
|
# File 'lib/dhall/ast.rb', line 864
def deep_merge(other)
other
end
|
#each ⇒ Object
844
845
846
|
# File 'lib/dhall/ast.rb', line 844
def each
self
end
|
#fetch(k, default = nil, &block) ⇒ Object
856
857
858
|
# File 'lib/dhall/ast.rb', line 856
def fetch(k, default=nil, &block)
{}.fetch(k, *default, &block)
end
|
#keys ⇒ Object
852
853
854
|
# File 'lib/dhall/ast.rb', line 852
def keys
[]
end
|
#map ⇒ Object
872
873
874
|
# File 'lib/dhall/ast.rb', line 872
def map
self
end
|
#merge(other) ⇒ Object
868
869
870
|
# File 'lib/dhall/ast.rb', line 868
def merge(other)
other
end
|
#normalize ⇒ Object
336
337
338
|
# File 'lib/dhall/normalize.rb', line 336
def normalize
self
end
|
#slice ⇒ Object
860
861
862
|
# File 'lib/dhall/ast.rb', line 860
def slice(*)
self
end
|
#to_h ⇒ Object
848
849
850
|
# File 'lib/dhall/ast.rb', line 848
def to_h
{}
end
|