Creates an instance of CompilationUnit.
The name of the project this Compilation Unit belongs to.
The AST of the project.
A graph showing the connections between project files.
A mapping from unique IDs of free functions to their CFGs.
A mapping from unique IDs of contract entries to contracts.
The AST of the project.
A mapping from unique IDs of contract entries to contracts.
A mapping from unique IDs of free functions to their CFGs.
A graph showing the connections between project files.
The name of the project this Compilation Unit belongs to.
Looks for a CFG for a function node with a specific name.
Found CFG or undefined
if not found.
Looks for a CFG for a method node with a specific name.
Found CFG or undefined
if not found.
Iterates over all CFGs in a Compilation Unit, and applies a callback to each basic block in every CFG.
The store containing the AST nodes.
The function to apply to each BB within each CFG.
Represents a Compilation Unit, encapsulating the information necessary for analyzing a single Tact project.