Package schrodinger :: Package application :: Package desmond :: Package antlr3 :: Module streams :: Class RewriteOperation
[hide private]
[frames] | no frames]

Class RewriteOperation

object --+
         |
        RewriteOperation
Known Subclasses:

@brief Internal helper class.

Instance Methods [hide private]
 
__init__(self, stream, index, text)
x.__init__(...) initializes x; see help(type(x)) for signature
 
execute(self, buf)
Execute the rewrite operation by possibly adding to the buffer.
 
toString(self)
str(x)
 
__str__(self)
str(x)
 
__repr__(self)
str(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, stream, index, text)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

execute(self, buf)

 

Execute the rewrite operation by possibly adding to the buffer. Return the index of the next token to operate on.

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

 

str(x)

Overrides: object.__repr__
(inherited documentation)