Package org.intocps.maestro.plugin
Class DemoBuilderPlugin
java.lang.Object
org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
org.intocps.maestro.plugin.DemoBuilderPlugin
- All Implemented Interfaces:
IMaestroExpansionPlugin,IMaestroPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
BasicMaestroExpansionPlugin.FunctionDeclarationBuilderNested classes/interfaces inherited from interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
IMaestroExpansionPlugin.ConfigOption, IMaestroExpansionPlugin.EmptyRuntimeConfig<R>, IMaestroExpansionPlugin.RuntimeConfigAddition<T> -
Field Summary
Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin
FMI_STATUS_VARIABLE_NAME, GLOBAL_EXECUTION_CONTINUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpandWithRuntimeAddition(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, org.intocps.maestro.framework.fmi2.api.FmiBuilder<org.intocps.maestro.ast.node.PStm, org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit, org.intocps.maestro.ast.node.PExp, ?> builder, List<org.intocps.maestro.framework.fmi2.api.FmiBuilder.Variable<org.intocps.maestro.ast.node.PStm, ?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter errorReporter) org.intocps.maestro.ast.node.AImportedModuleCompilationUnitSet<org.intocps.maestro.ast.AFunctionDeclaration> getName()Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
expand, expandWithRuntimeAddition, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder, parseConfig, requireConfig
-
Constructor Details
-
DemoBuilderPlugin
public DemoBuilderPlugin()
-
-
Method Details
-
getName
-
getVersion
-
getDeclaredUnfoldFunctions
-
getConfigRequirement
- Specified by:
getConfigRequirementin interfaceIMaestroExpansionPlugin- Overrides:
getConfigRequirementin classBasicMaestroExpansionPlugin
-
expandWithRuntimeAddition
public <R> IMaestroExpansionPlugin.RuntimeConfigAddition<R> expandWithRuntimeAddition(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, org.intocps.maestro.framework.fmi2.api.FmiBuilder<org.intocps.maestro.ast.node.PStm, org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit, throws ExpandExceptionorg.intocps.maestro.ast.node.PExp, ?> builder, List<org.intocps.maestro.framework.fmi2.api.FmiBuilder.Variable<org.intocps.maestro.ast.node.PStm, ?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter errorReporter) - Specified by:
expandWithRuntimeAdditionin interfaceIMaestroExpansionPlugin- Overrides:
expandWithRuntimeAdditionin classBasicMaestroExpansionPlugin- Throws:
ExpandException
-
getDeclaredImportUnit
public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()
-