Package ptolemy.copernicus.shallow
Class Main
- java.lang.Object
-
- ptolemy.copernicus.kernel.KernelMain
-
- ptolemy.copernicus.shallow.Main
-
public class Main extends KernelMain
Read in a MoML model and generate a Java class that creates the same model. (i.e. shallow code generation) No attempt is made to analyze actor code. This is primarily useful for using the Java compiler to find bugs, and removing MoML from shipped code.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Stephen Neuendorffer, Christopher Hylands
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.copernicus.kernel.KernelMain
KernelMain._IgnoreAllApplicationClasses
-
-
Field Summary
-
Fields inherited from class ptolemy.copernicus.kernel.KernelMain
_momlClassName, _toplevel
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String[]
_parseArgs(GeneratorAttribute attribute)
Parse any code generator specific arguments.void
addTransforms()
Add transforms to the Scene.-
Methods inherited from class ptolemy.copernicus.kernel.KernelMain
addStandardOptimizations, addTransform, addTransform, compile, generateCode, initialize, toplevel
-
-
-
-
Method Detail
-
addTransforms
public void addTransforms()
Add transforms to the Scene.- Specified by:
addTransforms
in classKernelMain
-
_parseArgs
protected java.lang.String[] _parseArgs(GeneratorAttribute attribute) throws java.lang.Exception
Parse any code generator specific arguments.- Overrides:
_parseArgs
in classKernelMain
- Throws:
java.lang.Exception
-
-