Class: SyntaxTree::YARV::SeaOfNodes::SubGraph
- Inherits:
-
Object
- Object
- SyntaxTree::YARV::SeaOfNodes::SubGraph
- Defined in:
- lib/syntax_tree/yarv/sea_of_nodes.rb
Overview
A subgraph represents the local data and control flow of a single basic block.
Instance Attribute Summary collapse
-
#first_fixed ⇒ Object
readonly
Returns the value of attribute first_fixed.
-
#inputs ⇒ Object
readonly
Returns the value of attribute inputs.
-
#last_fixed ⇒ Object
readonly
Returns the value of attribute last_fixed.
-
#outputs ⇒ Object
readonly
Returns the value of attribute outputs.
Instance Method Summary collapse
-
#initialize(first_fixed, last_fixed, inputs, outputs) ⇒ SubGraph
constructor
A new instance of SubGraph.
Constructor Details
#initialize(first_fixed, last_fixed, inputs, outputs) ⇒ SubGraph
Returns a new instance of SubGraph.
90 91 92 93 94 95 |
# File 'lib/syntax_tree/yarv/sea_of_nodes.rb', line 90 def initialize(first_fixed, last_fixed, inputs, outputs) @first_fixed = first_fixed @last_fixed = last_fixed @inputs = inputs @outputs = outputs end |
Instance Attribute Details
#first_fixed ⇒ Object (readonly)
Returns the value of attribute first_fixed.
88 89 90 |
# File 'lib/syntax_tree/yarv/sea_of_nodes.rb', line 88 def first_fixed @first_fixed end |
#inputs ⇒ Object (readonly)
Returns the value of attribute inputs.
88 89 90 |
# File 'lib/syntax_tree/yarv/sea_of_nodes.rb', line 88 def inputs @inputs end |
#last_fixed ⇒ Object (readonly)
Returns the value of attribute last_fixed.
88 89 90 |
# File 'lib/syntax_tree/yarv/sea_of_nodes.rb', line 88 def last_fixed @last_fixed end |
#outputs ⇒ Object (readonly)
Returns the value of attribute outputs.
88 89 90 |
# File 'lib/syntax_tree/yarv/sea_of_nodes.rb', line 88 def outputs @outputs end |