Class ShortCircuitingExpressionNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.expression.binary.ShortCircuitingExpressionNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
LogicalAndNode,LogicalOrNode,NullCoalescingNode
A binary expression whose right operand may be short-circuited. Does not inherit from
BinaryExpressionNode for technical reasons.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Field Summary
FieldsFields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedShortCircuitingExpressionNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode rightNode) -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected abstract ExpressionNodeprotected VmExceptionoperatorNotDefined(Object left) protected VmExceptionoperatorNotDefined(Object left, Object right) Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloat, executeGeneric, executeIntMethods inherited from class org.pkl.core.ast.PklNode
exceptionBuilder, getShortName, getSourceSection, toStringMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize
-
Field Details
-
rightNode
-
-
Constructor Details
-
ShortCircuitingExpressionNode
protected ShortCircuitingExpressionNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode rightNode)
-
-
Method Details
-
getLeftNode
-
fallback
-
operatorNotDefined
-
operatorNotDefined
-