class Mint::ReferencesTracker
- Mint::ReferencesTracker
- Reference
- Object
Defined in:
references_tracker.crInstance Method Summary
-
#add(node, target)
Adds a dependency link (node depends on target).
-
#bundle_of(node : Ast::Node) : Ast::Node | Bundle
Returns the bundle of the node.
-
#bundles : Hash(Mint::Ast::Node | Mint::Compiler2::Bundle, Set(Mint::Ast::Node))
This hash contains which nodes belong to which bundle.
-
#calculate(nodes : Set(Ast::Node)) : Bundles
Calculates which node belongs to which bundle.
- #collapse
- #keep?(node)
- #print_bundle_tree(io)
- #print_dependency_tree(node, level = 0, io = IO::Memory.new)
Instance Method Detail
Returns the bundle of the node.
This hash contains which nodes belong to which bundle.
Calculates which node belongs to which bundle.