A class that creates a new AST from an old one. This is a helper base for more specialized classes that manipulate the AST based on the comments in the nodes
Operations Summary: | |
__init__(self) Constructor [Source] | |
processAll(self, declarations) Overrides the default processAll() to setup the stack [Source] | |
push(self) Pushes the current scope onto the stack and starts a new one [Source] | |
pop(self, decl) Pops the current scope from the stack, and appends the given declaration to it [Source] | |
add(self, decl) Adds the given decl to the current scope [Source] | |
currscope(self) Returns the current scope: a list of declarations [Source] |
Operations Inherited from CommentProcessor | |
process, visitDeclaration |