Class TryMaBlScope
- java.lang.Object
-
- org.intocps.maestro.framework.fmi2.api.mabl.scoping.TryMaBlScope
-
- All Implemented Interfaces:
org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
public class TryMaBlScope extends java.lang.Object implements org.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
-
Constructor Summary
Constructors Constructor Description TryMaBlScope(MablApiBuilder builder)TryMaBlScope(MablApiBuilder builder, org.intocps.maestro.ast.node.PStm declaration, ScopeFmi2Api declaringScope, ScopeFmi2Api body, ScopeFmi2Api finallyScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScopeFmi2Apienter()ScopeFmi2ApienterFinally()<P extends org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>>
PfindParent(java.lang.Class<P> clz)ScopeFmi2ApigetBody()org.intocps.maestro.ast.node.PStmgetDeclaration()ScopeFmi2ApigetFinallyBody()ScopeFmi2Apileave()ScopeFmi2Apiparent()
-
-
-
Constructor Detail
-
TryMaBlScope
public TryMaBlScope(MablApiBuilder builder, org.intocps.maestro.ast.node.PStm declaration, ScopeFmi2Api declaringScope, ScopeFmi2Api body, ScopeFmi2Api finallyScope)
-
TryMaBlScope
public TryMaBlScope(MablApiBuilder builder)
-
-
Method Detail
-
enter
public ScopeFmi2Api enter()
- Specified by:
enterin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
enterFinally
public ScopeFmi2Api enterFinally()
- Specified by:
enterFinallyin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
leave
public ScopeFmi2Api leave()
- Specified by:
leavein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
getBody
public ScopeFmi2Api getBody()
- Specified by:
getBodyin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
getFinallyBody
public ScopeFmi2Api getFinallyBody()
- Specified by:
getFinallyBodyin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.TryScope<org.intocps.maestro.ast.node.PStm>
-
parent
public ScopeFmi2Api parent()
- Specified by:
parentin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>
-
getDeclaration
public org.intocps.maestro.ast.node.PStm getDeclaration()
- Specified by:
getDeclarationin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>
-
findParent
public <P extends org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>> P findParent(java.lang.Class<P> clz)
- Specified by:
findParentin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ScopeElement<org.intocps.maestro.ast.node.PStm>
-
-