Public Member Functions | |
def | __init__ (self, validator, node, decorated, optional=None) |
def | enter (self, visitee) |
def | leave (self, visitee) |
Private Attributes | |
_decorated | |
_node | |
_optional | |
_validator | |
Combines 3 different visitor classes in 1 so we only have to visit all the paths and endpaths once
Definition at line 118 of file SequenceVisitors.py.
def SequenceVisitors.CompositeVisitor.__init__ | ( | self, | |
validator, | |||
node, | |||
decorated, | |||
optional = None |
|||
) |
Definition at line 120 of file SequenceVisitors.py.
def SequenceVisitors.CompositeVisitor.enter | ( | self, | |
visitee | |||
) |
Definition at line 125 of file SequenceVisitors.py.
References SequenceVisitors.CompositeVisitor._decorated, SequenceVisitors.CompositeVisitor._node, SequenceVisitors.CompositeVisitor._optional, and SequenceVisitors.CompositeVisitor._validator.
def SequenceVisitors.CompositeVisitor.leave | ( | self, | |
visitee | |||
) |
Definition at line 131 of file SequenceVisitors.py.
References SequenceVisitors.CompositeVisitor._decorated, SequenceVisitors.CompositeVisitor._optional, and SequenceVisitors.CompositeVisitor._validator.
|
private |
Definition at line 123 of file SequenceVisitors.py.
Referenced by SequenceVisitors.CompositeVisitor.enter(), and SequenceVisitors.CompositeVisitor.leave().
|
private |
Definition at line 122 of file SequenceVisitors.py.
Referenced by SequenceVisitors.CompositeVisitor.enter().
|
private |
Definition at line 124 of file SequenceVisitors.py.
Referenced by SequenceVisitors.CompositeVisitor.enter(), and SequenceVisitors.CompositeVisitor.leave().
|
private |
Definition at line 121 of file SequenceVisitors.py.
Referenced by SequenceVisitors.CompositeVisitor.enter(), and SequenceVisitors.CompositeVisitor.leave().