class SFRP::Flat::NodeRefExp

Constants

NodeRef

Public Instance Methods

alpha_convert(_table, _serial) click to toggle source
# File lib/sfrp/flat/expression.rb, line 46
def alpha_convert(_table, _serial)
  self
end
lift_node_ref(collected_node_refs) click to toggle source
# File lib/sfrp/flat/expression.rb, line 38
def lift_node_ref(collected_node_refs)
  node_ref = NodeRef.new(node_str, last)
  unless collected_node_refs.include?(node_ref)
    collected_node_refs << node_ref
  end
  VarRefExp.new("__node_ref_#{collected_node_refs.index(node_ref)}")
end
to_poly() click to toggle source
# File lib/sfrp/flat/expression.rb, line 50
def to_poly
  raise NodeRefInIllegalPositionError.new(node_str)
end