class SFRP::Raw::Node
Public Instance Methods
absolute_name()
click to toggle source
# File lib/sfrp/raw/elements.rb, line 82 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 90 def gen_flat(src_set, dest_set) exp.blame_side_effect flat_ta = ta && ta.to_flat(src_set, ns) flat_init_exp = init_exp && init_exp.to_flat(src_set, ns) flat_exp = exp && exp.to_flat(src_set, ns) dest_set << Flat::Node.new(absolute_name, flat_ta, flat_exp, flat_init_exp) end
vconst_refs()
click to toggle source
# File lib/sfrp/raw/elements.rb, line 86 def vconst_refs [exp, init_exp].reject(&:nil?).flat_map(&:vconst_refs) end