%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_STRINGS_URI_H_ #define V8_STRINGS_URI_H_ #include "src/utils/allocation.h" #include "src/handles/maybe-handles.h" #include "src/objects/objects.h" namespace v8 { namespace internal { class Uri : public AllStatic { public: // ES6 section 18.2.6.2 decodeURI (encodedURI) static MaybeHandle<String> DecodeUri(Isolate* isolate, Handle<String> uri) { return Decode(isolate, uri, true); } // ES6 section 18.2.6.3 decodeURIComponent (encodedURIComponent) static MaybeHandle<String> DecodeUriComponent(Isolate* isolate, Handle<String> component) { return Decode(isolate, component, false); } // ES6 section 18.2.6.4 encodeURI (uri) static MaybeHandle<String> EncodeUri(Isolate* isolate, Handle<String> uri) { return Encode(isolate, uri, true); } // ES6 section 18.2.6.5 encodeURIComponenet (uriComponent) static MaybeHandle<String> EncodeUriComponent(Isolate* isolate, Handle<String> component) { return Encode(isolate, component, false); } // ES6 section B.2.1.1 escape (string) static MaybeHandle<String> Escape(Isolate* isolate, Handle<String> string); // ES6 section B.2.1.2 unescape (string) static MaybeHandle<String> Unescape(Isolate* isolate, Handle<String> string); private: static MaybeHandle<String> Decode(Isolate* isolate, Handle<String> uri, bool is_uri); static MaybeHandle<String> Encode(Isolate* isolate, Handle<String> uri, bool is_uri); }; } // namespace internal } // namespace v8 #endif // V8_STRINGS_URI_H_