Class BinaryExpressionNode
- 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.BinaryExpressionNode
-
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,java.lang.Cloneable
- Direct Known Subclasses:
AdditionNode,ComparatorNode,DivisionNode,ExponentiationNode,GreaterThanOrEqualNode,LessThanOrEqualNode,MultiplicationNode,PipeNode,RemainderNode,SubscriptNode,SubtractionNode,TruncatingDivisionNode
public abstract class BinaryExpressionNode extends ExpressionNode
-
-
Field Summary
-
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBinaryExpressionNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectfallback(java.lang.Object left, java.lang.Object right)protected abstract ExpressionNodegetLeftNode()protected abstract ExpressionNodegetRightNode()-
Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloat, executeGeneric, executeInt
-
Methods inherited from class org.pkl.core.ast.PklNode
exceptionBuilder, getShortName, getSourceSection, toString
-
Methods 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
-
-
-
-
Method Detail
-
getLeftNode
protected abstract ExpressionNode getLeftNode()
-
getRightNode
protected abstract ExpressionNode getRightNode()
-
fallback
protected java.lang.Object fallback(java.lang.Object left, java.lang.Object right)
-
-