public abstract static class JSONBuiltins.JSONStringifyNode extends JSONBuiltins.JSONOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSONStringifyNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilderProfile |
createStringBuilderProfile() |
protected boolean |
isArray(Object replacer) |
protected boolean |
isCallable(Object obj) |
protected Object |
jsonStr(Object jsonData,
Object keyStr,
JSObject holder) |
protected Object |
stringify(Object value,
Object replacerFn,
Object spaceParam) |
protected Object |
stringifyAStringNoReplacer(com.oracle.truffle.api.strings.TruffleString str,
Object replacer,
Object spaceParam,
StringBuilderProfile stringBuilderProfile,
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node appendRawValueNode,
com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode appendStringNode,
com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode builderToStringNode) |
protected Object |
stringifyNoReplacer(Object value,
Object replacer,
Object spaceParam) |
protected Object |
stringifyReplacerArray(Object value,
JSDynamicObject replacerObj,
Object spaceParam) |
protected Number |
toNumber(Object target) |
toStringcopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, convertIncomingValue, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, reportLoopCount, reportLoopCountaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected boolean isArray(Object replacer)
isArray in class JSONBuiltins.JSONOperationprotected boolean isCallable(Object obj)
protected Object stringifyReplacerArray(Object value, JSDynamicObject replacerObj, Object spaceParam)
protected Object stringifyAStringNoReplacer(com.oracle.truffle.api.strings.TruffleString str, Object replacer, Object spaceParam, StringBuilderProfile stringBuilderProfile, com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node appendRawValueNode, com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode appendStringNode, com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode builderToStringNode)
protected StringBuilderProfile createStringBuilderProfile()
protected Object stringifyNoReplacer(Object value, Object replacer, Object spaceParam)