Class SomePlugin

  • All Implemented Interfaces:
    org.intocps.maestro.plugin.IMaestroExpansionPlugin, org.intocps.maestro.plugin.IMaestroPlugin

    public class SomePlugin
    extends org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin

        org.intocps.maestro.plugin.BasicMaestroExpansionPlugin.FunctionDeclarationBuilder
      • Nested classes/interfaces inherited from interface org.intocps.maestro.plugin.IMaestroExpansionPlugin

        org.intocps.maestro.plugin.IMaestroExpansionPlugin.ConfigOption, org.intocps.maestro.plugin.IMaestroExpansionPlugin.EmptyRuntimeConfig<R extends java.lang.Object>, org.intocps.maestro.plugin.IMaestroExpansionPlugin.RuntimeConfigAddition<T extends java.lang.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
      java.util.List<org.intocps.maestro.ast.node.PStm> expand​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, java.util.List<org.intocps.maestro.ast.node.PExp> formalArguments, org.intocps.maestro.plugin.IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter reporter)  
      org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()  
      java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()  
      java.lang.String getName()  
      java.lang.String getVersion()  
      org.intocps.maestro.plugin.IPluginConfiguration parseConfig​(java.io.InputStream is)  
      boolean requireConfig()  
      • Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin

        expandWithRuntimeAddition, expandWithRuntimeAddition, getConfigRequirement, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SomePlugin

        public SomePlugin()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getVersion

        public java.lang.String getVersion()
      • getDeclaredUnfoldFunctions

        public java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
      • expand

        public java.util.List<org.intocps.maestro.ast.node.PStm> expand​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction,
                                                                        java.util.List<org.intocps.maestro.ast.node.PExp> formalArguments,
                                                                        org.intocps.maestro.plugin.IPluginConfiguration config,
                                                                        org.intocps.maestro.framework.core.ISimulationEnvironment env,
                                                                        org.intocps.maestro.core.messages.IErrorReporter reporter)
                                                                 throws org.intocps.maestro.plugin.ExpandException
        Specified by:
        expand in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Overrides:
        expand in class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
        Throws:
        org.intocps.maestro.plugin.ExpandException
      • requireConfig

        public boolean requireConfig()
        Specified by:
        requireConfig in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Overrides:
        requireConfig in class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
      • parseConfig

        public org.intocps.maestro.plugin.IPluginConfiguration parseConfig​(java.io.InputStream is)
                                                                    throws java.io.IOException
        Specified by:
        parseConfig in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Overrides:
        parseConfig in class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
        Throws:
        java.io.IOException
      • getDeclaredImportUnit

        public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()