Class: SyntaxTree::YARV::DataFlowGraph::DataFlow
- Inherits:
-
Object
- Object
- SyntaxTree::YARV::DataFlowGraph::DataFlow
- Defined in:
- lib/syntax_tree/yarv/data_flow_graph.rb
Overview
This object represents the flow of data between instructions.
Instance Attribute Summary collapse
-
#in ⇒ Object
readonly
Returns the value of attribute in.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize ⇒ DataFlow
constructor
A new instance of DataFlow.
Constructor Details
#initialize ⇒ DataFlow
Returns a new instance of DataFlow.
24 25 26 27 |
# File 'lib/syntax_tree/yarv/data_flow_graph.rb', line 24 def initialize @in = [] @out = [] end |
Instance Attribute Details
#in ⇒ Object (readonly)
Returns the value of attribute in.
21 22 23 |
# File 'lib/syntax_tree/yarv/data_flow_graph.rb', line 21 def in @in end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
22 23 24 |
# File 'lib/syntax_tree/yarv/data_flow_graph.rb', line 22 def out @out end |