Class DivisionNode
- 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.DivisionNode
-
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,java.lang.Cloneable
public abstract class DivisionNode extends BinaryExpressionNode
-
-
Field Summary
-
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDivisionNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doubleeval(double left, double right)protected doubleeval(double left, long right)protected doubleeval(long left, double right)protected doubleeval(long left, long right)protected VmDataSizeeval(VmDataSize left, double right)protected VmDataSizeeval(VmDataSize left, long right)protected doubleeval(VmDataSize left, VmDataSize right)protected VmDurationeval(VmDuration left, double right)protected VmDurationeval(VmDuration left, long right)protected doubleeval(VmDuration left, VmDuration right)-
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
-
eval
protected double eval(long left, long right)
-
eval
protected double eval(long left, double right)
-
eval
protected double eval(double left, long right)
-
eval
protected double eval(double left, double right)
-
eval
protected VmDuration eval(VmDuration left, long right)
-
eval
protected VmDuration eval(VmDuration left, double right)
-
eval
protected double eval(VmDuration left, VmDuration right)
-
eval
protected VmDataSize eval(VmDataSize left, long right)
-
eval
protected VmDataSize eval(VmDataSize left, double right)
-
eval
protected double eval(VmDataSize left, VmDataSize right)
-
-