public static final class JSConstantNode.JSConstantStringNode extends JSConstantNode
JSConstantNode.JSConstantBigIntNode, JSConstantNode.JSConstantBooleanNode, JSConstantNode.JSConstantDoubleNode, JSConstantNode.JSConstantIntegerNode, JSConstantNode.JSConstantNullNode, JSConstantNode.JSConstantNumericUnitNode, JSConstantNode.JSConstantSafeIntegerNode, JSConstantNode.JSConstantStringNode, JSConstantNode.JSConstantUndefinedNode
INTERMEDIATE_VALUE
Modifier and Type | Method and Description |
---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
getValue() |
boolean |
isResultAlwaysOfType(Class<?> clazz) |
copyUninitialized, create, createBigInt, createBoolean, createConstantNumericUnit, createDouble, createInt, createNull, createSafeInteger, createString, createUndefined, executeVoid, expressionToString, getDebugProperties, getNodeObject, hasTag
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
getLanguage, getRealm, hasOverloadedOperators
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNode
execute
in class JavaScriptNode
frame
- the frame of the currently executing guest language methodpublic boolean isResultAlwaysOfType(Class<?> clazz)
isResultAlwaysOfType
in class JavaScriptNode
public Object getValue()
getValue
in class JSConstantNode