Public Member Functions | |
def | __init__ |
def | execute |
def | toString |
Public Attributes | |
lastIndex | |
Static Private Attributes | |
__repr__ = toString | |
__str__ = toString |
@brief Internal helper class. I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp instructions.
Definition at line 951 of file streams.py.
def rve_interface_gen.antlr3.streams.ReplaceOp.__init__ | ( | self, | |
stream, | |||
first, | |||
last, | |||
text | |||
) |
Definition at line 959 of file streams.py.
def rve_interface_gen.antlr3.streams.ReplaceOp.execute | ( | self, | |
buf | |||
) |
Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.
Reimplemented from rve_interface_gen.antlr3.streams.RewriteOperation.
Definition at line 964 of file streams.py.
Reimplemented from rve_interface_gen.antlr3.streams.RewriteOperation.
Reimplemented in rve_interface_gen.antlr3.streams.DeleteOp.
Definition at line 971 of file streams.py.
rve_interface_gen::antlr3::streams.ReplaceOp::__repr__ = toString [static, private] |
Reimplemented from rve_interface_gen.antlr3.streams.RewriteOperation.
Reimplemented in rve_interface_gen.antlr3.streams.DeleteOp.
Definition at line 976 of file streams.py.
rve_interface_gen::antlr3::streams.ReplaceOp::__str__ = toString [static, private] |
Reimplemented from rve_interface_gen.antlr3.streams.RewriteOperation.
Reimplemented in rve_interface_gen.antlr3.streams.DeleteOp.
Definition at line 975 of file streams.py.
Definition at line 959 of file streams.py.