io.sarl.lang.controlflow
Class ExtendedSARLEarlyExitComputer
class ExtendedSARLEarlyExitComputer
extends java.lang.Object
Compute the early-exit flag for the SARL statements.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
boolean isDefiniteEarlyExit(XExpression)
protected boolean isEarlyExitSARLStatement(XExpression)
Replies if the given expression is a early-exit SARL statement.
boolean isIntentionalEarlyExit(XExpression)
Constructor Details
new
new
Action Details
isDefiniteEarlyExit(XExpression)
def isDefiniteEarlyExit(XExpression) : boolean
isEarlyExitSARLStatement(XExpression)
protected def isEarlyExitSARLStatement(XExpression) : boolean
Replies if the given expression is a early-exit SARL statement.
Parameters:
expression - the expression to test.
Returns:
true if the given expression is a SARL early-exit statement, false otherwise.
See:
isEarlyExitAnnotatedElement(Object)
isIntentionalEarlyExit(XExpression)
def isIntentionalEarlyExit(XExpression) : boolean