Class TruncatingDivisionNode
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.TruncatingDivisionNode
- 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
ConstructorsModifierConstructorDescriptionprotectedTruncatingDivisionNode(com.oracle.truffle.api.source.SourceSection sourceSection) -
Method Summary
Modifier and TypeMethodDescriptionprotected longeval(double left, double right) protected longeval(double left, long right) protected longeval(long left, double right) protected longeval(long left, long right) protected VmDataSizeeval(VmDataSize left, double right) protected VmDataSizeeval(VmDataSize left, long right) protected longeval(VmDataSize left, VmDataSize right) protected VmDurationeval(VmDuration left, double right) protected VmDurationeval(VmDuration left, long right) protected longeval(VmDuration left, VmDuration right) 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
-
TruncatingDivisionNode
protected TruncatingDivisionNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
-
Method Details
-
eval
protected long eval(long left, long right) -
eval
protected long eval(long left, double right) -
eval
protected long eval(double left, long right) -
eval
protected long eval(double left, double right) -
eval
-
eval
-
eval
-
eval
-
eval
-
eval
-