module Synopsis.Processors.Transformer
class Transformer
Transformer-inheritance
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
Attributes Summary:
source code
source code
Methods Summary:
  __init__(self, * * kwds)
references
source code
  process(self, ir, * * kwds)
references
source code
  finalize(self)
references
source code
  push(self)
references
source code
  pop(self, decl)
references
source code
  add(self, decl)
references
source code
  current_scope(self)
references
source code
  visit_builtin(self, decl)
references
source code
Methods Details:
  __init__(self, * * kwds)
references
source code
Constructor
  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