module Synopsis.Processors.Transformer
class Transformer
A class that creates a new ASG from an old one. This is a helper base for more specialized classes that manipulate the ASG based on the comments in the nodes
Transformer-inheritance
-Attributes
source code
source code
-Methods
  __init__(self, * * kwds)
references
source code
Constructor
  process(self, ir, * * kwds)
references
source code
  finalize(self)
references
source code
replace the ASG with the newly created one
  push(self)
references
source code
Pushes the current scope onto the stack and starts a new one
  pop(self, decl)
references
source code
Pops the current scope from the stack, and appends the given declaration to it
  add(self, decl)
references
source code
Adds the given decl to the current scope
  current_scope(self)
references
source code
Returns the current scope: a list of declarations
  visit_builtin(self, decl)
references
source code