Class IntLiteralNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.expression.literal.IntLiteralNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable,ConstantNode
-
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
ConstructorsConstructorDescriptionIntLiteralNode(com.oracle.truffle.api.source.SourceSection sourceSection, long value) -
Method Summary
Modifier and TypeMethodDescriptionexecuteGeneric(com.oracle.truffle.api.frame.VirtualFrame frame) longexecuteInt(com.oracle.truffle.api.frame.VirtualFrame frame) getValue()Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloatMethods 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
-
IntLiteralNode
public IntLiteralNode(com.oracle.truffle.api.source.SourceSection sourceSection, long value)
-
-
Method Details
-
executeGeneric
- Specified by:
executeGenericin classExpressionNode
-
executeInt
public long executeInt(com.oracle.truffle.api.frame.VirtualFrame frame) - Overrides:
executeIntin classExpressionNode
-
getValue
- Specified by:
getValuein interfaceConstantNode
-