Class ExponentiationNode
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
org.pkl.core.ast.expression.binary.ExponentiationNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
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
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionExponentiationNode(com.oracle.truffle.api.source.SourceSection sourceSection) -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleeval(double x, double y) protected doubleeval(double x, long y) protected doubleeval(long x, double y) protected VmDataSizeeval(VmDataSize x, double y) protected VmDataSizeeval(VmDataSize x, long y) protected VmDurationeval(VmDuration x, double y) protected VmDurationeval(VmDuration x, long y) protected doubleevalNegative(long x, long y) protected longevalPositive(long x, long y) Methods inherited from class org.pkl.core.ast.expression.binary.BinaryExpressionNode
fallback, getLeftNode, getRightNodeMethods 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
-
Constructor Details
-
ExponentiationNode
public ExponentiationNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
-
Method Details
-
evalPositive
protected long evalPositive(long x, long y) -
evalNegative
protected double evalNegative(long x, long y) -
eval
protected double eval(long x, double y) -
eval
protected double eval(double x, long y) -
eval
protected double eval(double x, double y) -
eval
-
eval
-
eval
-
eval
-