Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 36697828745fc1f31ec7228fb245d570eaa0cea6..ffde4dca6b10d8df1116373e66ad62edcd59100e 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -18,6 +18,7 @@ class BasicJsonStringifier BASE_EMBEDDED { |
~BasicJsonStringifier() { DeleteArray(gap_); } |
MUST_USE_RESULT MaybeHandle<Object> Stringify(Handle<Object> object, |
+ Handle<Object> replacer, |
Handle<Object> gap); |
MUST_USE_RESULT static MaybeHandle<Object> StringifyString( |
@@ -26,6 +27,7 @@ class BasicJsonStringifier BASE_EMBEDDED { |
private: |
enum Result { UNCHANGED, SUCCESS, EXCEPTION }; |
+ bool InitializeReplacer(Handle<Object> replacer); |
bool InitializeGap(Handle<Object> gap); |
MUST_USE_RESULT MaybeHandle<Object> ApplyToJsonFunction( |
@@ -107,6 +109,7 @@ class BasicJsonStringifier BASE_EMBEDDED { |
IncrementalStringBuilder builder_; |
Handle<String> tojson_string_; |
Handle<JSArray> stack_; |
+ Handle<FixedArray> property_list_; |
uc16* gap_; |
int indent_; |