Top-level Internal Representation. This is essentially a dictionary
of different representations such as Parse Tree, Abstract Semantic Graph, etc.
A dictionary mapping filenames to `SourceFile.SourceFile` instances.
The Abstract Semantic Graph.
The Source Cross-Reference SymbolTable.
__init__(
self,
files =
None,
asg =
None,
sxr =
None)
Constructor
Make a shallow copy of this IR.
Saves an IR object to the given filename
-
Merges another IR. More...
Merges another IR. Files and declarations are appended to those in
this IR, and types are merged by overwriting existing types -
Unduplicator is responsible for sorting out the mess this may cause :)