Package lepl :: Package lexer :: Package lines :: Module lexer
[hide private]
[frames] | no frames]

Module lexer

source code

A lexer that adds line start and end tokens. The start may also contain leading spaces, depending on the configuration.
Classes [hide private]
  _OffsideLexer
An alternative lexer that adds LineStart and LineEnd tokens.
Functions [hide private]
 
make_offside_lexer(tabsize, blocks)
Provide the standard Lexer interface while including tabsize.
source code
Variables [hide private]
  START = 'SOL'
Name for start of line token.
  END = 'EOL'
Name for end of line token.