| Home | Trees | Indices | Help |
|---|
|
|
An alternative lexer that adds LineStart and LineEnd tokens.
Note that because of the extend argument list this must be used in
the config via make_offside_lexer() (although in normal use it is
supplied by simply calling config.lines() so you don't need to refer
to this class at all)
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
matcher is the head of the original matcher graph, which will be called with a tokenised stream. tokens is the set of Token instances that define the lexer. alphabet is the alphabet for which the regexps are defined. discard is the regular expression for spaces (which are silently dropped if not token can be matcher). t_regexp and s_regexp are internally compiled state, use in cloning, and should not be provided by non-cloning callers.
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Jun 9 21:50:53 2012 | http://epydoc.sourceforge.net |