Package org.pkl.core.ast.internal
Class GetClassNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.internal.GetClassNode
- 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
ConstructorsModifierConstructorDescriptionprotectedprotectedGetClassNode(com.oracle.truffle.api.source.SourceSection sourceSection) -
Method Summary
Modifier and TypeMethodDescriptionprotected VmClassevalBoolean(boolean value) protected VmClassevalFloat(double value) protected VmClassevalInt(long value) protected VmClassevalString(String value) protected VmClassevalVmValue(Object value, Class<? extends VmValue> cachedClass) abstract VmClassexecuteWith(com.oracle.truffle.api.frame.VirtualFrame frame, Object value) When only using this execute method, pass `null` for `valueNode` toGetClassNodeGen.create(com.oracle.truffle.api.source.SourceSection, org.pkl.core.ast.ExpressionNode).getValueClass(Object value) Methods 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
-
GetClassNode
protected GetClassNode(com.oracle.truffle.api.source.SourceSection sourceSection) -
GetClassNode
protected GetClassNode()
-
-
Method Details
-
executeWith
When only using this execute method, pass `null` for `valueNode` toGetClassNodeGen.create(com.oracle.truffle.api.source.SourceSection, org.pkl.core.ast.ExpressionNode). -
evalString
-
evalInt
-
evalFloat
-
evalBoolean
-
evalVmValue
-
getValueClass
-