class Mint::ReferencesTracker

Defined in:

references_tracker.cr

Instance Method Summary

Instance Method Detail

def add(node, target) #

Adds a dependency link (node depends on target).


[View source]
def bundle_of(node : Ast::Node) : Ast::Node | Bundle #

Returns the bundle of the node.


[View source]

This hash contains which nodes belong to which bundle.


[View source]
def calculate(nodes : Set(Ast::Node)) : Bundles #

Calculates which node belongs to which bundle.


[View source]
def collapse #

[View source]
def keep?(node) #

[View source]
def print_bundle_tree(io) #

[View source]
def print_dependency_tree(node, level = 0, io = IO::Memory.new) #

[View source]