module SFRP::Flat
Public Instance Methods
call_e(func_str, args)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 25 def call_e(func_str, args) FuncCallExp.new(func_str, args) end
ft(ret_t, arg_ts)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 13 def ft(ret_t, arg_ts) FuncTypeAnnotation.new(ret_t, arg_ts) end
nr_e(node_str, last)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 21 def nr_e(node_str, last) NodeRefExp.new(node_str, last) end
t(tconst_str, args)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 5 def t(tconst_str, args) TypeAnnotationType.new(tconst_str, args) end
tv(var_str)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 9 def tv(var_str) TypeAnnotationVar.new(var_str) end
v_e(var_str)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 17 def v_e(var_str) VarRefExp.new(var_str) end
vc_call_e(vconst_str, args)
click to toggle source
# File lib/sfrp/flat/dsl.rb, line 29 def vc_call_e(vconst_str, args) VConstCallExp.new(vconst_str, args) end