Public Member Functions | |
def | __init__ (self, globals_, l) |
def | enter (self, node) |
def | leave (self, node) |
Private Attributes | |
_moduleToName | |
_names | |
Fill a list with the names of Event module types in a sequence. The names are determined by using globals() to lookup the variable names assigned to the modules. This allows the determination of the labels before the modules have been attached to a Process.
Definition at line 139 of file SequenceVisitors.py.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.__init__ | ( | self, | |
globals_, | |||
l | |||
) |
Definition at line 143 of file SequenceVisitors.py.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter | ( | self, | |
node | |||
) |
Definition at line 146 of file SequenceVisitors.py.
References SequenceVisitors.ModuleNamesFromGlobalsVisitor._moduleToName, SequenceVisitors.ModuleNamesFromGlobalsVisitor._names, and mps_setup.append.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.leave | ( | self, | |
node | |||
) |
Definition at line 149 of file SequenceVisitors.py.
|
private |
Definition at line 144 of file SequenceVisitors.py.
Referenced by SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter().
|
private |
Definition at line 145 of file SequenceVisitors.py.
Referenced by SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter().