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 107 of file SequenceVisitors.py.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.__init__ | ( | self, | |
globals_, | |||
l | |||
) |
Definition at line 111 of file SequenceVisitors.py.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter | ( | self, | |
node | |||
) |
Definition at line 114 of file SequenceVisitors.py.
References SequenceVisitors.ModuleNamesFromGlobalsVisitor._moduleToName, SequenceVisitors.ModuleNamesFromGlobalsVisitor._names, and mps_setup.append.
def SequenceVisitors.ModuleNamesFromGlobalsVisitor.leave | ( | self, | |
node | |||
) |
Definition at line 117 of file SequenceVisitors.py.
|
private |
Definition at line 112 of file SequenceVisitors.py.
Referenced by SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter().
|
private |
Definition at line 113 of file SequenceVisitors.py.
Referenced by SequenceVisitors.ModuleNamesFromGlobalsVisitor.enter().