Class: CodeNode::IR::Graph
- Inherits:
-
Object
- Object
- CodeNode::IR::Graph
- Includes:
- BuilderMethods, TemplateMethods
- Defined in:
- lib/code_node/ir/graph.rb
Overview
A collection of Nodes
Defined Under Namespace
Modules: BuilderMethods, TemplateMethods
Instance Attribute Summary
Attributes included from BuilderMethods
Instance Method Summary collapse
-
#initialize ⇒ Graph
constructor
A new instance of Graph.
Methods included from TemplateMethods
#each_class, #each_containment, #each_extension, #each_inclusion, #each_inheritance, #each_module
Methods included from BuilderMethods
#<<, #apply_styles, #node_for, #prune
Constructor Details
#initialize ⇒ Graph
Returns a new instance of Graph.
195 196 197 198 199 200 |
# File 'lib/code_node/ir/graph.rb', line 195 def initialize @exclude_matchers = [] @style_matchers = [] @nodes = {} @scope = [] end |