module SFRP::Raw

Public Instance Methods

call_e(func_ref, args) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 29
def call_e(func_ref, args)
  FuncCallExp.new(func_ref, args)
end
ft(ret_t, arg_ts) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 17
def ft(ret_t, arg_ts)
  FuncTypeAnnotation.new(ret_t, arg_ts)
end
nr_e(node_ref, last) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 25
def nr_e(node_ref, last)
  NodeRefExp.new(node_ref, last)
end
r(rname, qualifier = nil) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 5
def r(rname, qualifier = nil)
  Ref.new(rname, qualifier)
end
seq_e(exps, func_refs) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 37
def seq_e(exps, func_refs)
  SequenceExp.new(exps, func_refs)
end
t(tconst_ref, args) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 9
def t(tconst_ref, args)
  TypeAnnotationType.new(tconst_ref, args)
end
tv(var_str) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 13
def tv(var_str)
  TypeAnnotationVar.new(var_str)
end
v_e(var_str) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 21
def v_e(var_str)
  VarRefExp.new(var_str)
end
vc_call_e(vconst_ref, args) click to toggle source
# File lib/sfrp/raw/dsl.rb, line 33
def vc_call_e(vconst_ref, args)
  VConstCallExp.new(vconst_ref, args)
end