Public Member Functions | |
def | __init__ |
def | execute |
Execute the rewrite operation by possibly adding to the buffer. | |
def | toString |
Public Attributes | |
stream | |
index | |
text | |
Static Private Attributes | |
__str__ = toString | |
__repr__ = toString |
Definition at line 1892 of file antlr3.py.
def antlr3.RewriteOperation.__init__ | ( | self, | ||
stream, | ||||
index, | ||||
text | ||||
) |
def antlr3.RewriteOperation.execute | ( | self, | ||
buf | ||||
) |
Execute the rewrite operation by possibly adding to the buffer.
Return the index of the next token to operate on.
Reimplemented in antlr3.InsertBeforeOp, and antlr3.ReplaceOp.
def antlr3.RewriteOperation.toString | ( | self | ) |
antlr3.RewriteOperation.__str__ = toString [static, private] |
antlr3.RewriteOperation.__repr__ = toString [static, private] |