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,java.lang.Cloneable
public abstract class ExponentiationNode extends BinaryExpressionNode
-
-
Field Summary
-
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection
-
-
Constructor Summary
Constructors Constructor Description ExponentiationNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, getRightNode
-
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
-
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
protected VmDuration eval(VmDuration x, long y)
-
eval
protected VmDuration eval(VmDuration x, double y)
-
eval
protected VmDataSize eval(VmDataSize x, long y)
-
eval
protected VmDataSize eval(VmDataSize x, double y)
-
-