Package lepl :: Package matchers :: Module operators :: Class _BaseSeparator
[hide private]
[frames] | no frames]

Class _BaseSeparator

source code


Support class for Separator and similar classes.

Uses the OPERATORS namespace.

Instance Methods [hide private]
 
__init__(self, separator)
If the separator is a string it is coerced to Regexp(); if None then any previous defined separator is effectively removed.
source code
 
_replacements(self, _separator)
Sub-classes should return (And, Repeat)
source code
 
_repeat(self, separator)
A simple Repeat with separator.
source code

Inherited from support.context.Scope: __enter__, __exit__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, separator)
(Constructor)

source code 
If the separator is a string it is coerced to Regexp(); if None then any previous defined separator is effectively removed.
Overrides: object.__init__