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

Class Separator

source code


Redefine [] and & to include the given matcher as a separator (so it will be used between list items and between matchers separated by the & operator)

Uses the OPERATORS namespace.

Instance Methods [hide private]
 
_replacements(self, separator)
Require the separator on each And.
source code

Inherited from _BaseSeparator: __init__

Inherited from _BaseSeparator (private): _repeat

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]

_replacements(self, separator)

source code 
Require the separator on each And.
Overrides: _BaseSeparator._replacements