weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) |
darin@apple.com | 01ce6e9 | 2010-07-12 21:32:34 +0000 | [diff] [blame] | 3 | * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 4 | * Copyright (C) 2007 Cameron Zwarich (cwzwarich@uwaterloo.ca) |
| 5 | * Copyright (C) 2007 Maks Orlovich |
| 6 | * |
| 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Library General Public |
| 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Library General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Library General Public License |
| 18 | * along with this library; see the file COPYING.LIB. If not, write to |
| 19 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 | * Boston, MA 02110-1301, USA. |
| 21 | * |
| 22 | */ |
| 23 | |
ryanhaddad@apple.com | 22104f5 | 2016-09-28 17:08:17 +0000 | [diff] [blame] | 24 | #pragma once |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 25 | |
mhahnenberg@apple.com | c1bc9d3 | 2013-01-24 21:39:55 +0000 | [diff] [blame] | 26 | #include "JSCJSValue.h" |
darin@apple.com | 970a32f | 2014-02-03 17:30:04 +0000 | [diff] [blame] | 27 | #include <unicode/uchar.h> |
| 28 | #include <wtf/text/LChar.h> |
darin@apple.com | 9ec0dbe | 2008-10-19 04:31:41 +0000 | [diff] [blame] | 29 | |
cwzwarich@webkit.org | 3f782f6 | 2008-09-08 01:28:33 +0000 | [diff] [blame] | 30 | namespace JSC { |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 31 | |
fpizlo@apple.com | 6301c85 | 2013-02-18 09:25:33 +0000 | [diff] [blame] | 32 | class ArgList; |
| 33 | class ExecState; |
| 34 | class JSObject; |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 35 | |
fpizlo@apple.com | 6301c85 | 2013-02-18 09:25:33 +0000 | [diff] [blame] | 36 | // FIXME: These functions should really be in JSGlobalObject.cpp, but putting them there |
| 37 | // is a 0.5% reduction. |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 38 | |
fpizlo@apple.com | 6301c85 | 2013-02-18 09:25:33 +0000 | [diff] [blame] | 39 | EncodedJSValue JSC_HOST_CALL globalFuncEval(ExecState*); |
| 40 | EncodedJSValue JSC_HOST_CALL globalFuncParseInt(ExecState*); |
| 41 | EncodedJSValue JSC_HOST_CALL globalFuncParseFloat(ExecState*); |
fpizlo@apple.com | 6301c85 | 2013-02-18 09:25:33 +0000 | [diff] [blame] | 42 | EncodedJSValue JSC_HOST_CALL globalFuncDecodeURI(ExecState*); |
| 43 | EncodedJSValue JSC_HOST_CALL globalFuncDecodeURIComponent(ExecState*); |
| 44 | EncodedJSValue JSC_HOST_CALL globalFuncEncodeURI(ExecState*); |
| 45 | EncodedJSValue JSC_HOST_CALL globalFuncEncodeURIComponent(ExecState*); |
| 46 | EncodedJSValue JSC_HOST_CALL globalFuncEscape(ExecState*); |
| 47 | EncodedJSValue JSC_HOST_CALL globalFuncUnescape(ExecState*); |
| 48 | EncodedJSValue JSC_HOST_CALL globalFuncThrowTypeError(ExecState*); |
msaboff@apple.com | 7468298 | 2016-06-02 22:01:50 +0000 | [diff] [blame] | 49 | EncodedJSValue JSC_HOST_CALL globalFuncThrowTypeErrorArgumentsCalleeAndCaller(ExecState*); |
fpizlo@apple.com | 6301c85 | 2013-02-18 09:25:33 +0000 | [diff] [blame] | 50 | EncodedJSValue JSC_HOST_CALL globalFuncProtoGetter(ExecState*); |
| 51 | EncodedJSValue JSC_HOST_CALL globalFuncProtoSetter(ExecState*); |
joepeck@webkit.org | a6dfe9c | 2017-04-28 03:33:57 +0000 | [diff] [blame] | 52 | EncodedJSValue JSC_HOST_CALL globalFuncHostPromiseRejectionTracker(ExecState*); |
oliver@apple.com | ef1d2b7 | 2014-04-11 18:39:22 +0000 | [diff] [blame] | 53 | EncodedJSValue JSC_HOST_CALL globalFuncBuiltinLog(ExecState*); |
utatane.tea@gmail.com | 5e63912 | 2017-01-09 22:02:47 +0000 | [diff] [blame] | 54 | EncodedJSValue JSC_HOST_CALL globalFuncImportModule(ExecState*); |
dino@apple.com | 1f68062 | 2015-02-20 00:20:54 +0000 | [diff] [blame] | 55 | |
akling@apple.com | 7e84ac5 | 2015-05-19 17:06:23 +0000 | [diff] [blame] | 56 | double jsToNumber(StringView); |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 57 | |
cwzwarich@webkit.org | 3f782f6 | 2008-09-08 01:28:33 +0000 | [diff] [blame] | 58 | } // namespace JSC |