class SFRP::Raw::PrimTConst
Public Instance Methods
absolute_name()
click to toggle source
# File lib/sfrp/raw/elements.rb, line 47 def absolute_name ns.absolute_name(rname) end
gen_flat(_src_set, dest_set)
click to toggle source
# File lib/sfrp/raw/elements.rb, line 60 def gen_flat(_src_set, dest_set) dest_set << Flat::TConst.new(absolute_name, [], nil, native_str, true) end
make_vconst(vconst_str)
click to toggle source
# File lib/sfrp/raw/elements.rb, line 55 def make_vconst(vconst_str) raise vconst_str unless vconst_match?(vconst_str) VConst.new(vconst_str, rname, ns, vconst_str.gsub(pat, rep), []) end
vconst_match?(vconst_str)
click to toggle source
# File lib/sfrp/raw/elements.rb, line 51 def vconst_match?(vconst_str) pat.match(vconst_str) end