module Synopsis.IR
class IR
IR-inheritance
Top-level Internal Representation. This is essentially a dictionary of different representations such as Parse Tree, Abstract Semantic Graph, etc.
Attributes Summary:
source code
A dictionary mapping filenames to `SourceFile.SourceFile` instances.
source code
The Abstract Semantic Graph.
source code
The Source Cross-Reference SymbolTable.
Methods Summary:
  __init__(self, files = None, asg = None, sxr = None)
references
source code
  copy(self)
references
source code
Make a shallow copy of this IR.
  save(self, filename)
references
source code
  merge(self, other)
references
source code
Merges another IR.
Attributes Details:
source code
A dictionary mapping filenames to `SourceFile.SourceFile` instances.
source code
The Abstract Semantic Graph.
source code
The Source Cross-Reference SymbolTable.
Methods Details:
  __init__(self, files = None, asg = None, sxr = None)
references
source code
Constructor
  copy(self)
references
source code
Make a shallow copy of this IR.
  save(self, filename)
references
source code
Saves an IR object to the given filename
  merge(self, other)
references
source code
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 :)