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

Class LineStart

source code


Instance Methods [hide private]
 
__init__(self, indent=True, regexp=None, content=None, id_=None, alphabet=None, complete=True, compiled=False)
Arguments used only to support cloning.
source code
 
on_push(self, monitor)
Read the global indentation level.
source code
 
on_pop(self, monitor)
Unused
source code
 
_match(self, stream_in)
Check that we match the current level
source code

Inherited from matchers.BaseToken: __call__, __repr__, __str__, compile

Class Methods [hide private]

Inherited from matchers.BaseToken: reset_ids

Method Details [hide private]

__init__(self, indent=True, regexp=None, content=None, id_=None, alphabet=None, complete=True, compiled=False)
(Constructor)

source code 
Arguments used only to support cloning.
Overrides: matchers.BaseToken.__init__

_match(self, stream_in)

source code 
Check that we match the current level
Decorators:
  • @tagged
Overrides: matchers.BaseToken._match