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 contract ids to their entries.
A mapping trait ids to their entries.
ReadonlyastThe AST of the project.
ReadonlycallReadonlyfunctionsA mapping from unique IDs of free functions to their CFGs.
ReadonlyimportsA graph showing the connections between project files.
ReadonlyprojectThe 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.