Class: SFRP::Raw::NodeRefExp
- Inherits:
-
Struct
- Object
- Struct
- SFRP::Raw::NodeRefExp
- Defined in:
- lib/sfrp/raw/expression.rb
Instance Attribute Summary collapse
-
#last ⇒ Object
Returns the value of attribute last.
-
#node_ref ⇒ Object
Returns the value of attribute node_ref.
-
#sp ⇒ Object
Returns the value of attribute sp.
Instance Method Summary collapse
Instance Attribute Details
#last ⇒ Object
Returns the value of attribute last
36 37 38 |
# File 'lib/sfrp/raw/expression.rb', line 36 def last @last end |
#node_ref ⇒ Object
Returns the value of attribute node_ref
36 37 38 |
# File 'lib/sfrp/raw/expression.rb', line 36 def node_ref @node_ref end |
#sp ⇒ Object
Returns the value of attribute sp
36 37 38 |
# File 'lib/sfrp/raw/expression.rb', line 36 def sp @sp end |
Instance Method Details
#blame_side_effect ⇒ Object
41 42 43 |
# File 'lib/sfrp/raw/expression.rb', line 41 def blame_side_effect nil end |
#to_flat(set, ns) ⇒ Object
45 46 47 48 |
# File 'lib/sfrp/raw/expression.rb', line 45 def to_flat(set, ns) ab_node_name = set.node(ns, node_ref, sp).absolute_name Flat::NodeRefExp.new(ab_node_name, last) end |
#vconst_refs ⇒ Object
37 38 39 |
# File 'lib/sfrp/raw/expression.rb', line 37 def vconst_refs [] end |