Package org.intocps.maestro.plugin
Class SomePlugin
- java.lang.Object
-
- org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
-
- org.intocps.maestro.plugin.SomePlugin
-
- All Implemented Interfaces:
IMaestroExpansionPlugin,IMaestroPlugin
public class SomePlugin extends BasicMaestroExpansionPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
BasicMaestroExpansionPlugin.FunctionDeclarationBuilder
-
Nested classes/interfaces inherited from interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
IMaestroExpansionPlugin.ConfigOption, IMaestroExpansionPlugin.EmptyRuntimeConfig<R extends Object>, IMaestroExpansionPlugin.RuntimeConfigAddition<T extends Object>
-
-
Field Summary
-
Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin
FMI_STATUS_VARIABLE_NAME, GLOBAL_EXECUTION_CONTINUE
-
-
Constructor Summary
Constructors Constructor Description SomePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.intocps.maestro.ast.node.PStm>expand(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, List<org.intocps.maestro.ast.node.PExp> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter reporter)org.intocps.maestro.ast.node.AImportedModuleCompilationUnitgetDeclaredImportUnit()Set<org.intocps.maestro.ast.AFunctionDeclaration>getDeclaredUnfoldFunctions()StringgetName()StringgetVersion()IPluginConfigurationparseConfig(InputStream is)booleanrequireConfig()-
Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
expandWithRuntimeAddition, expandWithRuntimeAddition, getConfigRequirement, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder
-
-
-
-
Method Detail
-
getName
public String getName()
-
getVersion
public String getVersion()
-
getDeclaredUnfoldFunctions
public Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
-
expand
public List<org.intocps.maestro.ast.node.PStm> expand(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, List<org.intocps.maestro.ast.node.PExp> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter reporter) throws ExpandException
- Specified by:
expandin interfaceIMaestroExpansionPlugin- Overrides:
expandin classBasicMaestroExpansionPlugin- Throws:
ExpandException
-
requireConfig
public boolean requireConfig()
- Specified by:
requireConfigin interfaceIMaestroExpansionPlugin- Overrides:
requireConfigin classBasicMaestroExpansionPlugin
-
parseConfig
public IPluginConfiguration parseConfig(InputStream is) throws IOException
- Specified by:
parseConfigin interfaceIMaestroExpansionPlugin- Overrides:
parseConfigin classBasicMaestroExpansionPlugin- Throws:
IOException
-
getDeclaredImportUnit
public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()
-
-