public abstract static class JSONBuiltins.JSONStringifyNode extends JSONBuiltins.JSONOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedINTERMEDIATE_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,
String key,
com.oracle.truffle.api.object.DynamicObject holder) |
protected Object |
stringify(Object value,
com.oracle.truffle.api.object.DynamicObject replacerFn,
Object spaceParam) |
protected Object |
stringifyAStringNoReplacer(Object value,
Object replacer,
Object spaceParam,
StringBuilderProfile stringBuilderProfile) |
protected Object |
stringifyNoReplacer(Object value,
Object replacer,
Object spaceParam) |
protected Object |
stringifyReplacerArray(Object value,
com.oracle.truffle.api.object.DynamicObject replacerObj,
Object spaceParam) |
protected Number |
toNumber(Object target) |
toStringcopyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object jsonStr(Object jsonData, String key, com.oracle.truffle.api.object.DynamicObject holder)
protected boolean isArray(Object replacer)
isArray in class JSONBuiltins.JSONOperationprotected boolean isCallable(Object obj)
protected Object stringify(Object value, com.oracle.truffle.api.object.DynamicObject replacerFn, Object spaceParam)
protected Object stringifyReplacerArray(Object value, com.oracle.truffle.api.object.DynamicObject replacerObj, Object spaceParam)
protected Object stringifyAStringNoReplacer(Object value, Object replacer, Object spaceParam, StringBuilderProfile stringBuilderProfile)
protected StringBuilderProfile createStringBuilderProfile()
protected Object stringifyNoReplacer(Object value, Object replacer, Object spaceParam)