Class UnaryMinusNode
- java.lang.Object
-
- com.oracle.truffle.api.nodes.Node
-
- org.pkl.core.ast.PklNode
-
- org.pkl.core.ast.ExpressionNode
-
- org.pkl.core.ast.expression.unary.UnaryExpressionNode
-
- org.pkl.core.ast.expression.unary.UnaryMinusNode
-
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,java.lang.Cloneable
public abstract class UnaryMinusNode extends UnaryExpressionNode
-
-
Field Summary
-
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnaryMinusNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doubleeval(double operand)protected longeval(long operand)protected VmDataSizeeval(VmDataSize operand)protected VmDurationeval(VmDuration operand)-
Methods inherited from class org.pkl.core.ast.expression.unary.UnaryExpressionNode
fallback
-
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 long eval(long operand)
-
eval
protected double eval(double operand)
-
eval
protected VmDuration eval(VmDuration operand)
-
eval
protected VmDataSize eval(VmDataSize operand)
-
-