Home | Trees | Index | Help |
---|
Package ZestyParser :: Module Tokens :: Class RawToken |
|
AbstractToken
--+
|
RawToken
Method Summary | |
---|---|
| |
__call__(self,
parser,
origCursor)
| |
__str__(self)
| |
Inherited from AbstractToken | |
Allows you to construct TokenSequence s with the + operator. | |
| |
| |
Allows you to construct CompositeToken s with the | operator. | |
| |
Convenience overloading for setting the callback of a token whose initializer you
do not call directly, such as the result of combining tokens with + or | . | |
| |
Overloading for setting the failMessage of a token. | |
| |
|
Instance Variable Summary | |
---|---|
bool | caseInsensitive : If true, ignores case. |
Inherited from AbstractToken | |
NoneType |
callback : An optional callable which, if not None, will be called whenever an
instance matches successfully. |
desc : The generic "description" variable which stores the
"essence" of any given instance. | |
NoneType |
to : An optional callable which, if not None, will be called in the same
manner as a callback (after any callback and before returning to the
parser instance), but will be passed only one argument: the data matched
(or returned by the callback, if any). |
Class Variable Summary | |
---|---|
Inherited from AbstractToken | |
bool |
callbackArgCount = False
|
NoneType |
failMessage = None |
NoneType |
_call_orig = None |
Method Details |
---|
__init__(self,
string,
caseInsensitive=False,
**kwargs)
|
Instance Variable Details |
---|
caseInsensitiveIf true, ignores case.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 22 02:13:39 2007 | http://epydoc.sf.net |