public final class SLLogicalOrNode extends SLShortCircuitNode
| Constructor and Description |
|---|
SLLogicalOrNode(SLExpressionNode left,
SLExpressionNode right) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute(boolean left,
boolean right)
Calculates the result of the short circuit operation.
|
protected boolean |
isEvaluateRight(boolean left)
This method is called after the left child was evaluated, but before the right child is
evaluated.
|
executeBoolean, executeGenericaddExpressionTag, createWrapper, executeLong, executeVoid, hasTagaddRootTag, addStatementTag, formatSourceSection, getSourceCharIndex, getSourceEndIndex, getSourceLength, getSourceSection, hasSource, isInstrumentable, setSourceSection, setUnavailableSourceSection, toStringfindBlock, getVisibleVariablesIndexOnEnter, hasScope, setVisibleVariablesIndexOnEnter, setVisibleVariablesIndexOnExitaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic SLLogicalOrNode(SLExpressionNode left, SLExpressionNode right)
protected boolean isEvaluateRight(boolean left)
SLShortCircuitNodeisEvaluateRight in class SLShortCircuitNodeprotected boolean execute(boolean left,
boolean right)
SLShortCircuitNodefalse is provided.execute in class SLShortCircuitNode