Class: Dhall::EmptyRecordType

Inherits:
RecordType show all
Defined in:
lib/dhall/ast.rb

Instance Method Summary collapse

Methods inherited from RecordType

#==, decode, #eql?, for, #keys

Methods inherited from Expression

#&, #*, #+, #annotate, #as_dhall, #cache_key, #call, #concat, decode, #deep_merge, #dhall_eq, #digest, #fetch, #fusion, #merge, #normalize, #resolve, #shift, #substitute, #to_binary, #to_cbor, #to_proc, #to_s, #|

Instance Method Details

#as_jsonObject



736
737
738
# File 'lib/dhall/ast.rb', line 736

def as_json
	[7, {}]
end

#deep_merge_type(other) ⇒ Object



732
733
734
# File 'lib/dhall/ast.rb', line 732

def deep_merge_type(other)
	other
end

#merge_type(other) ⇒ Object



728
729
730
# File 'lib/dhall/ast.rb', line 728

def merge_type(other)
	other
end

#recordObject



724
725
726
# File 'lib/dhall/ast.rb', line 724

def record
	{}
end

#sliceObject



720
721
722
# File 'lib/dhall/ast.rb', line 720

def slice(*)
	self
end