Package org.pkl.core.ast.internal
Class ToStringNode
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.internal.ToStringNode
- 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
ConstructorsModifierConstructorDescriptionprotectedToStringNode(com.oracle.truffle.api.source.SourceSection sourceSection) -
Method Summary
Modifier and TypeMethodDescriptionprotected InvokeMethodVirtualNodeprotected StringevalBoolean(boolean value) protected StringevalFloat(double value) protected StringevalInt(long value) protected StringevalString(String value) protected StringevalTyped(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped value, InvokeMethodVirtualNode invokeNode) protected ObjectMethods 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
-
ToStringNode
protected ToStringNode(com.oracle.truffle.api.source.SourceSection sourceSection)
-
-
Method Details
-
evalString
-
evalInt
-
evalFloat
-
evalBoolean
-
evalTyped
protected String evalTyped(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped value, InvokeMethodVirtualNode invokeNode) -
fallback
- Overrides:
fallbackin classUnaryExpressionNode
-
createInvokeNode
-