Class WhileMaBLScope

  • All Implemented Interfaces:
    org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm>, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scoping<org.intocps.maestro.ast.node.PStm>, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.WhileScope<org.intocps.maestro.ast.node.PStm>, IMablScope

    public class WhileMaBLScope
    extends ScopeFmi2Api
    implements org.intocps.maestro.framework.fmi2.api.Fmi2Builder.WhileScope<org.intocps.maestro.ast.node.PStm>
    • Constructor Detail

      • WhileMaBLScope

        public WhileMaBLScope​(MablApiBuilder builder,
                              org.intocps.maestro.ast.node.PStm declaration,
                              ScopeFmi2Api declaringScope,
                              org.intocps.maestro.ast.node.SBlockStm whileBlock)
    • Method Detail

      • leave

        public ScopeFmi2Api leave()
        If fmiErrorHandling is enabled in the MablApiBuilder settings then the leave operation on a while scope automatically created a subsequent !global_execution_continue check with an additional break in order to break out successfully
        Specified by:
        leave in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scoping<org.intocps.maestro.ast.node.PStm>
        Specified by:
        leave in interface IMablScope
        Overrides:
        leave in class ScopeFmi2Api
        Returns: