| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
BaseToken Introduce a token that will be recognised by the lexer. |
|||
|
Token A token with a user-specified regexp. |
|||
|
EmptyToken A token that cannot be specialised, and that returns nothing. |
|||
|
|||
|
|||
|
|||
NonToken = ABCMeta('NonToken', (object,), {})ABC used to identify matchers that actually consume from the stream. |
|||
|
|||
A matcher factory that generates a new matcher that will transform the stream passed to its arguments so that they do not see the given tokens.
will create a matcher, RestrictedC, that is like C, but which will not see the tokens matced by A and B. In other words, this filters tokens from the input. |
|
|||
NonTokenABC used to identify matchers that actually consume from the stream. These are the "leaf" matchers that "do the real work" and they cannot be used at the same level as Tokens, but must be embedded inside them. This is a purely infmtive interface used, for example, to generate warnings for the user. Not implementing this interface will not block any functionality.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun Jan 8 17:18:46 2012 | http://epydoc.sourceforge.net |