|
| | JsonStringifier (Isolate *isolate) |
| |
| | ~JsonStringifier () |
| |
| V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > | Stringify (Handle< JSAny > object, Handle< JSAny > replacer, Handle< Object > gap) |
| |
| template<ElementsKind kind> |
| JsonStringifier::Result | SerializeFixedArrayWithInterruptCheck (DirectHandle< JSArray > array, uint32_t length, uint32_t *slow_path_index) |
| |
| template<ElementsKind kind> |
| JsonStringifier::Result | SerializeFixedArrayWithPossibleTransitions (DirectHandle< JSArray > array, uint32_t length, uint32_t *slow_path_index) |
| |
| template<ElementsKind kind, typename T > |
| JsonStringifier::Result | SerializeFixedArrayElement (Tagged< T > elements, uint32_t i, Tagged< JSArray > array, bool bailout_on_hole) |
| |
| template<typename SrcChar , typename DestChar , bool raw_json> |
| bool | SerializeStringUnchecked_ (base::Vector< const SrcChar > src, NoExtendBuilder< DestChar > *dest) |
| |
| template<typename SrcChar , typename DestChar , bool raw_json> |
| bool | SerializeString_ (Tagged< String > string, const DisallowGarbageCollection &no_gc) |
| |
|
| bool | InitializeReplacer (Handle< JSAny > replacer) |
| |
| bool | InitializeGap (Handle< Object > gap) |
| |
| V8_WARN_UNUSED_RESULT MaybeHandle< JSAny > | ApplyToJsonFunction (Handle< JSAny > object, DirectHandle< Object > key) |
| |
| V8_WARN_UNUSED_RESULT MaybeHandle< JSAny > | ApplyReplacerFunction (Handle< JSAny > value, DirectHandle< Object > key, DirectHandle< Object > initial_holder) |
| |
| V8_INLINE Result | SerializeObject (Handle< JSAny > obj) |
| |
| V8_INLINE Result | SerializeElement (Isolate *isolate, Handle< JSAny > object, int i) |
| |
| V8_INLINE Result | SerializeProperty (Handle< JSAny > object, bool deferred_comma, Handle< String > deferred_key) |
| |
| template<typename SrcChar , typename DestChar > |
| V8_INLINE void | Append (SrcChar c) |
| |
| V8_INLINE void | AppendCharacter (uint8_t c) |
| |
| template<size_t N> |
| V8_INLINE void | AppendCStringLiteral (const char(&literal)[N]) |
| |
| template<typename SrcChar > |
| V8_INLINE void | AppendCString (const SrcChar *s) |
| |
| template<typename SrcChar > |
| V8_INLINE void | AppendString (std::basic_string_view< SrcChar > s) |
| |
| V8_INLINE bool | CurrentPartCanFit (size_t length) |
| |
| V8_INLINE bool | EscapedLengthIfCurrentPartFits (size_t length) |
| |
| void | AppendStringByCopy (Tagged< String > string, size_t length, const DisallowGarbageCollection &no_gc) |
| |
| V8_NOINLINE void | AppendString (Handle< String > string_handle) |
| |
| template<typename SrcChar > |
| void | AppendSubstringByCopy (const SrcChar *src, size_t count) |
| |
| template<typename SrcChar > |
| V8_NOINLINE void | AppendSubstring (const SrcChar *src, size_t from, size_t to) |
| |
| bool | HasValidCurrentIndex () const |
| |
| template<bool deferred_string_key> |
| Result | Serialize_ (Handle< JSAny > object, bool comma, Handle< Object > key) |
| |
| V8_INLINE void | SerializeDeferredKey (bool deferred_comma, Handle< Object > deferred_key) |
| |
| Result | SerializeSmi (Tagged< Smi > object) |
| |
| Result | SerializeDouble (double number) |
| |
| V8_INLINE Result | SerializeHeapNumber (DirectHandle< HeapNumber > object) |
| |
| Result | SerializeJSPrimitiveWrapper (Handle< JSPrimitiveWrapper > object, Handle< Object > key) |
| |
| V8_INLINE Result | SerializeJSArray (Handle< JSArray > object, Handle< Object > key) |
| |
| V8_INLINE Result | SerializeJSObject (Handle< JSObject > object, Handle< Object > key) |
| |
| Result | SerializeJSProxy (Handle< JSProxy > object, Handle< Object > key) |
| |
| Result | SerializeJSReceiverSlow (DirectHandle< JSReceiver > object) |
| |
| template<ElementsKind kind> |
| V8_INLINE Result | SerializeFixedArrayWithInterruptCheck (DirectHandle< JSArray > array, uint32_t length, uint32_t *slow_path_index) |
| |
| template<ElementsKind kind> |
| V8_INLINE Result | SerializeFixedArrayWithPossibleTransitions (DirectHandle< JSArray > array, uint32_t length, uint32_t *slow_path_index) |
| |
| template<ElementsKind kind, typename T > |
| V8_INLINE Result | SerializeFixedArrayElement (Tagged< T > elements, uint32_t i, Tagged< JSArray > array, bool can_treat_hole_as_undefined) |
| |
| Result | SerializeArrayLikeSlow (DirectHandle< JSReceiver > object, uint32_t start, uint32_t length) |
| |
| template<bool raw_json> |
| bool | SerializeString (Handle< String > object) |
| |
| template<typename SrcChar , typename DestChar , bool raw_json> |
| V8_INLINE bool | SerializeString_ (Tagged< String > string, const DisallowGarbageCollection &no_gc) |
| |
| template<typename DestChar > |
| bool | TrySerializeSimplePropertyKey (Tagged< String > string, const DisallowGarbageCollection &no_gc) |
| |
| V8_INLINE void | NewLine () |
| |
| V8_NOINLINE void | NewLineOutline () |
| |
| V8_INLINE void | Indent () |
| |
| V8_INLINE void | Unindent () |
| |
| V8_INLINE void | Separator (bool first) |
| |
| DirectHandle< JSReceiver > | CurrentHolder (DirectHandle< Object > value, DirectHandle< Object > inital_holder) |
| |
| Result | StackPush (Handle< Object > object, Handle< Object > key) |
| |
| void | StackPop () |
| |
| Handle< String > | ConstructCircularStructureErrorMessage (DirectHandle< Object > last_key, size_t start_index) |
| |
| Factory * | factory () |
| |
| V8_NOINLINE void | Extend () |
| |
| V8_NOINLINE void | ChangeEncoding () |
| |
Definition at line 32 of file json-stringifier.cc.