Sha256: 7ecf321fae52846b21b9531fd9abd87062a26c4b1d14c49c0bd4fb94b44ae18c
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
module SFRP module Flat extend SFRP::F = self def t(tconst_str, args, sp = nil) TypeAnnotationType.new(tconst_str, args, sp) end def tv(var_str, sp = nil) TypeAnnotationVar.new(var_str, sp) end def ft(ret_t, arg_ts) FuncTypeAnnotation.new(ret_t, arg_ts) end def v_e(var_str, sp = nil) VarRefExp.new(var_str, sp) end def nr_e(node_str, last, sp = nil) NodeRefExp.new(node_str, last, sp) end def call_e(func_str, args, sp = nil) FuncCallExp.new(func_str, args, sp) end def vc_call_e(vconst_str, args, sp = nil) VConstCallExp.new(vconst_str, args, sp) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sfrp-1.2.1 | lib/sfrp/flat/dsl.rb |
sfrp-1.2.0 | lib/sfrp/flat/dsl.rb |
sfrp-1.1.0 | lib/sfrp/flat/dsl.rb |