Class: Dhall::Let

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

Instance Method Summary collapse

Methods inherited from Expression

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

Instance Method Details

#as_jsonObject



1776
1777
1778
# File 'lib/dhall/ast.rb', line 1776

def as_json
	[var, type&.as_json, assign.as_json]
end