5.1.1.2.1.1.1.7. pycropml.transpiler.generators.pythonGenerator module¶
-
class
pycropml.transpiler.generators.pythonGenerator.
PythonCompo
(tree, model=None, name=None)[source]¶ Bases:
pycropml.transpiler.generators.pythonGenerator.PythonGenerator
This class used to generates states, rates and auxiliary classes for C# languages.
-
class
pycropml.transpiler.generators.pythonGenerator.
PythonGenerator
(tree, model=None, name=None)[source]¶ Bases:
pycropml.transpiler.codeGenerator.CodeGenerator
,pycropml.transpiler.rules.pythonRules.PythonRules
This class contains the specific properties of python language and use the NodeVisitor to generate a python code source from a well formed syntax tree.