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

Module operators

source code

Operators for tokens.
Classes [hide private]
  TokenNamespace
A modified version of the usual OperatorNamespace without handling of spaces (since that is handled by the lexer), allowing Tokens and other matchers to be configured separately (because they process different types).
Variables [hide private]
  TOKENS = 'tokens'
This names a per-thread storage area that contains the definitions of operators (so tokens can have different operators to non-tokens).
Variables Details [hide private]

TOKENS

This names a per-thread storage area that contains the definitions of operators (so tokens can have different operators to non-tokens). All token matchers should reference this (either directly via NamespaceMixin or indirectly via BaseToken).
Value:
'tokens'