jbarnette-johnson 1.0.0.200806240111 → 1.0.0.200807291507
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MANIFEST +1 -0
- data/Rakefile +3 -10
- data/bin/johnson +2 -1
- data/ext/spidermonkey/context.c +3 -4
- data/ext/spidermonkey/context.h +1 -1
- data/ext/spidermonkey/conversions.c +39 -33
- data/ext/spidermonkey/debugger.c +5 -5
- data/ext/spidermonkey/immutable_node.c.erb +11 -11
- data/ext/spidermonkey/jroot.h +4 -4
- data/ext/spidermonkey/js_land_proxy.c +9 -8
- data/ext/spidermonkey/ruby_land_proxy.c +5 -4
- data/ext/spidermonkey/runtime.c +1 -1
- data/johnson.gemspec +36 -0
- data/lib/hoe.rb +0 -7
- data/lib/johnson/cli/options.rb +10 -4
- data/lib/johnson/spidermonkey/runtime.rb +2 -2
- data/lib/johnson/version.rb +4 -2
- data/lib/johnson.rb +1 -0
- data/test/johnson/runtime_test.rb +11 -0
- data/test/johnson/spidermonkey/ruby_land_proxy_test.rb +6 -0
- data/vendor/spidermonkey/.cvsignore +9 -0
- data/vendor/spidermonkey/Makefile.in +462 -0
- data/vendor/spidermonkey/Makefile.ref +364 -0
- data/vendor/spidermonkey/README.html +820 -0
- data/vendor/spidermonkey/SpiderMonkey.rsp +12 -0
- data/vendor/spidermonkey/Y.js +19 -0
- data/vendor/spidermonkey/build.mk +43 -0
- data/vendor/spidermonkey/config/AIX4.1.mk +65 -0
- data/vendor/spidermonkey/config/AIX4.2.mk +64 -0
- data/vendor/spidermonkey/config/AIX4.3.mk +65 -0
- data/vendor/spidermonkey/config/Darwin.mk +83 -0
- data/vendor/spidermonkey/config/Darwin1.3.mk +81 -0
- data/vendor/spidermonkey/config/Darwin1.4.mk +41 -0
- data/vendor/spidermonkey/config/Darwin5.2.mk +81 -0
- data/vendor/spidermonkey/config/Darwin5.3.mk +81 -0
- data/vendor/spidermonkey/config/HP-UXB.10.10.mk +77 -0
- data/vendor/spidermonkey/config/HP-UXB.10.20.mk +77 -0
- data/vendor/spidermonkey/config/HP-UXB.11.00.mk +80 -0
- data/vendor/spidermonkey/config/IRIX.mk +87 -0
- data/vendor/spidermonkey/config/IRIX5.3.mk +44 -0
- data/vendor/spidermonkey/config/IRIX6.1.mk +44 -0
- data/vendor/spidermonkey/config/IRIX6.2.mk +44 -0
- data/vendor/spidermonkey/config/IRIX6.3.mk +44 -0
- data/vendor/spidermonkey/config/IRIX6.5.mk +44 -0
- data/vendor/spidermonkey/config/Linux_All.mk +103 -0
- data/vendor/spidermonkey/config/Mac_OS10.0.mk +82 -0
- data/vendor/spidermonkey/config/OSF1V4.0.mk +72 -0
- data/vendor/spidermonkey/config/OSF1V5.0.mk +69 -0
- data/vendor/spidermonkey/config/SunOS4.1.4.mk +101 -0
- data/vendor/spidermonkey/config/SunOS5.10.mk +50 -0
- data/vendor/spidermonkey/config/SunOS5.3.mk +91 -0
- data/vendor/spidermonkey/config/SunOS5.4.mk +92 -0
- data/vendor/spidermonkey/config/SunOS5.5.1.mk +44 -0
- data/vendor/spidermonkey/config/SunOS5.5.mk +87 -0
- data/vendor/spidermonkey/config/SunOS5.6.mk +89 -0
- data/vendor/spidermonkey/config/SunOS5.7.mk +44 -0
- data/vendor/spidermonkey/config/SunOS5.8.mk +44 -0
- data/vendor/spidermonkey/config/SunOS5.9.mk +44 -0
- data/vendor/spidermonkey/config/WINNT4.0.mk +117 -0
- data/vendor/spidermonkey/config/WINNT5.0.mk +117 -0
- data/vendor/spidermonkey/config/WINNT5.1.mk +117 -0
- data/vendor/spidermonkey/config/WINNT5.2.mk +117 -0
- data/vendor/spidermonkey/config/WINNT6.0.mk +117 -0
- data/vendor/spidermonkey/config/dgux.mk +64 -0
- data/vendor/spidermonkey/config.mk +192 -0
- data/vendor/spidermonkey/editline/Makefile.ref +144 -0
- data/vendor/spidermonkey/editline/README +83 -0
- data/vendor/spidermonkey/editline/editline.3 +175 -0
- data/vendor/spidermonkey/editline/editline.c +1369 -0
- data/vendor/spidermonkey/editline/editline.h +135 -0
- data/vendor/spidermonkey/editline/sysunix.c +182 -0
- data/vendor/spidermonkey/editline/unix.h +82 -0
- data/vendor/spidermonkey/fdlibm/.cvsignore +7 -0
- data/vendor/spidermonkey/fdlibm/Makefile.in +127 -0
- data/vendor/spidermonkey/fdlibm/Makefile.ref +192 -0
- data/vendor/spidermonkey/fdlibm/e_acos.c +147 -0
- data/vendor/spidermonkey/fdlibm/e_acosh.c +105 -0
- data/vendor/spidermonkey/fdlibm/e_asin.c +156 -0
- data/vendor/spidermonkey/fdlibm/e_atan2.c +165 -0
- data/vendor/spidermonkey/fdlibm/e_atanh.c +110 -0
- data/vendor/spidermonkey/fdlibm/e_cosh.c +133 -0
- data/vendor/spidermonkey/fdlibm/e_exp.c +202 -0
- data/vendor/spidermonkey/fdlibm/e_fmod.c +184 -0
- data/vendor/spidermonkey/fdlibm/e_gamma.c +71 -0
- data/vendor/spidermonkey/fdlibm/e_gamma_r.c +70 -0
- data/vendor/spidermonkey/fdlibm/e_hypot.c +173 -0
- data/vendor/spidermonkey/fdlibm/e_j0.c +524 -0
- data/vendor/spidermonkey/fdlibm/e_j1.c +523 -0
- data/vendor/spidermonkey/fdlibm/e_jn.c +315 -0
- data/vendor/spidermonkey/fdlibm/e_lgamma.c +71 -0
- data/vendor/spidermonkey/fdlibm/e_lgamma_r.c +347 -0
- data/vendor/spidermonkey/fdlibm/e_log.c +184 -0
- data/vendor/spidermonkey/fdlibm/e_log10.c +134 -0
- data/vendor/spidermonkey/fdlibm/e_pow.c +386 -0
- data/vendor/spidermonkey/fdlibm/e_rem_pio2.c +222 -0
- data/vendor/spidermonkey/fdlibm/e_remainder.c +120 -0
- data/vendor/spidermonkey/fdlibm/e_scalb.c +89 -0
- data/vendor/spidermonkey/fdlibm/e_sinh.c +122 -0
- data/vendor/spidermonkey/fdlibm/e_sqrt.c +497 -0
- data/vendor/spidermonkey/fdlibm/fdlibm.h +273 -0
- data/vendor/spidermonkey/fdlibm/fdlibm.mak +1453 -0
- data/vendor/spidermonkey/fdlibm/fdlibm.mdp +0 -0
- data/vendor/spidermonkey/fdlibm/k_cos.c +135 -0
- data/vendor/spidermonkey/fdlibm/k_rem_pio2.c +354 -0
- data/vendor/spidermonkey/fdlibm/k_sin.c +114 -0
- data/vendor/spidermonkey/fdlibm/k_standard.c +785 -0
- data/vendor/spidermonkey/fdlibm/k_tan.c +170 -0
- data/vendor/spidermonkey/fdlibm/s_asinh.c +101 -0
- data/vendor/spidermonkey/fdlibm/s_atan.c +175 -0
- data/vendor/spidermonkey/fdlibm/s_cbrt.c +133 -0
- data/vendor/spidermonkey/fdlibm/s_ceil.c +120 -0
- data/vendor/spidermonkey/fdlibm/s_copysign.c +72 -0
- data/vendor/spidermonkey/fdlibm/s_cos.c +118 -0
- data/vendor/spidermonkey/fdlibm/s_erf.c +356 -0
- data/vendor/spidermonkey/fdlibm/s_expm1.c +267 -0
- data/vendor/spidermonkey/fdlibm/s_fabs.c +70 -0
- data/vendor/spidermonkey/fdlibm/s_finite.c +71 -0
- data/vendor/spidermonkey/fdlibm/s_floor.c +121 -0
- data/vendor/spidermonkey/fdlibm/s_frexp.c +99 -0
- data/vendor/spidermonkey/fdlibm/s_ilogb.c +85 -0
- data/vendor/spidermonkey/fdlibm/s_isnan.c +74 -0
- data/vendor/spidermonkey/fdlibm/s_ldexp.c +66 -0
- data/vendor/spidermonkey/fdlibm/s_lib_version.c +73 -0
- data/vendor/spidermonkey/fdlibm/s_log1p.c +211 -0
- data/vendor/spidermonkey/fdlibm/s_logb.c +79 -0
- data/vendor/spidermonkey/fdlibm/s_matherr.c +64 -0
- data/vendor/spidermonkey/fdlibm/s_modf.c +132 -0
- data/vendor/spidermonkey/fdlibm/s_nextafter.c +124 -0
- data/vendor/spidermonkey/fdlibm/s_rint.c +131 -0
- data/vendor/spidermonkey/fdlibm/s_scalbn.c +107 -0
- data/vendor/spidermonkey/fdlibm/s_signgam.c +40 -0
- data/vendor/spidermonkey/fdlibm/s_significand.c +68 -0
- data/vendor/spidermonkey/fdlibm/s_sin.c +118 -0
- data/vendor/spidermonkey/fdlibm/s_tan.c +112 -0
- data/vendor/spidermonkey/fdlibm/s_tanh.c +122 -0
- data/vendor/spidermonkey/fdlibm/w_acos.c +78 -0
- data/vendor/spidermonkey/fdlibm/w_acosh.c +78 -0
- data/vendor/spidermonkey/fdlibm/w_asin.c +80 -0
- data/vendor/spidermonkey/fdlibm/w_atan2.c +79 -0
- data/vendor/spidermonkey/fdlibm/w_atanh.c +81 -0
- data/vendor/spidermonkey/fdlibm/w_cosh.c +77 -0
- data/vendor/spidermonkey/fdlibm/w_exp.c +88 -0
- data/vendor/spidermonkey/fdlibm/w_fmod.c +78 -0
- data/vendor/spidermonkey/fdlibm/w_gamma.c +85 -0
- data/vendor/spidermonkey/fdlibm/w_gamma_r.c +81 -0
- data/vendor/spidermonkey/fdlibm/w_hypot.c +78 -0
- data/vendor/spidermonkey/fdlibm/w_j0.c +105 -0
- data/vendor/spidermonkey/fdlibm/w_j1.c +106 -0
- data/vendor/spidermonkey/fdlibm/w_jn.c +128 -0
- data/vendor/spidermonkey/fdlibm/w_lgamma.c +85 -0
- data/vendor/spidermonkey/fdlibm/w_lgamma_r.c +81 -0
- data/vendor/spidermonkey/fdlibm/w_log.c +78 -0
- data/vendor/spidermonkey/fdlibm/w_log10.c +81 -0
- data/vendor/spidermonkey/fdlibm/w_pow.c +99 -0
- data/vendor/spidermonkey/fdlibm/w_remainder.c +77 -0
- data/vendor/spidermonkey/fdlibm/w_scalb.c +95 -0
- data/vendor/spidermonkey/fdlibm/w_sinh.c +77 -0
- data/vendor/spidermonkey/fdlibm/w_sqrt.c +77 -0
- data/vendor/spidermonkey/javascript-trace.d +73 -0
- data/vendor/spidermonkey/js.c +3951 -0
- data/vendor/spidermonkey/js.mak +4438 -0
- data/vendor/spidermonkey/js.mdp +0 -0
- data/vendor/spidermonkey/js.msg +307 -0
- data/vendor/spidermonkey/js.pkg +2 -0
- data/vendor/spidermonkey/js3240.rc +79 -0
- data/vendor/spidermonkey/jsOS240.def +654 -0
- data/vendor/spidermonkey/jsapi.c +5836 -0
- data/vendor/spidermonkey/jsapi.h +2624 -0
- data/vendor/spidermonkey/jsarena.c +450 -0
- data/vendor/spidermonkey/jsarena.h +318 -0
- data/vendor/spidermonkey/jsarray.c +2988 -0
- data/vendor/spidermonkey/jsarray.h +124 -0
- data/vendor/spidermonkey/jsatom.c +1045 -0
- data/vendor/spidermonkey/jsatom.h +442 -0
- data/vendor/spidermonkey/jsbit.h +253 -0
- data/vendor/spidermonkey/jsbool.c +176 -0
- data/vendor/spidermonkey/jsbool.h +73 -0
- data/vendor/spidermonkey/jsclist.h +139 -0
- data/vendor/spidermonkey/jscntxt.c +1348 -0
- data/vendor/spidermonkey/jscntxt.h +1120 -0
- data/vendor/spidermonkey/jscompat.h +57 -0
- data/vendor/spidermonkey/jsconfig.h +248 -0
- data/vendor/spidermonkey/jsconfig.mk +181 -0
- data/vendor/spidermonkey/jscpucfg.c +383 -0
- data/vendor/spidermonkey/jscpucfg.h +212 -0
- data/vendor/spidermonkey/jsdate.c +2398 -0
- data/vendor/spidermonkey/jsdate.h +124 -0
- data/vendor/spidermonkey/jsdbgapi.c +1799 -0
- data/vendor/spidermonkey/jsdbgapi.h +464 -0
- data/vendor/spidermonkey/jsdhash.c +868 -0
- data/vendor/spidermonkey/jsdhash.h +592 -0
- data/vendor/spidermonkey/jsdtoa.c +3167 -0
- data/vendor/spidermonkey/jsdtoa.h +130 -0
- data/vendor/spidermonkey/jsdtracef.c +317 -0
- data/vendor/spidermonkey/jsdtracef.h +77 -0
- data/vendor/spidermonkey/jsemit.c +6909 -0
- data/vendor/spidermonkey/jsemit.h +741 -0
- data/vendor/spidermonkey/jsexn.c +1371 -0
- data/vendor/spidermonkey/jsexn.h +96 -0
- data/vendor/spidermonkey/jsfile.c +2736 -0
- data/vendor/spidermonkey/jsfile.h +56 -0
- data/vendor/spidermonkey/jsfile.msg +90 -0
- data/vendor/spidermonkey/jsfun.c +2634 -0
- data/vendor/spidermonkey/jsfun.h +254 -0
- data/vendor/spidermonkey/jsgc.c +3554 -0
- data/vendor/spidermonkey/jsgc.h +403 -0
- data/vendor/spidermonkey/jshash.c +476 -0
- data/vendor/spidermonkey/jshash.h +151 -0
- data/vendor/spidermonkey/jsify.pl +485 -0
- data/vendor/spidermonkey/jsinterp.c +6981 -0
- data/vendor/spidermonkey/jsinterp.h +521 -0
- data/vendor/spidermonkey/jsinvoke.c +43 -0
- data/vendor/spidermonkey/jsiter.c +1067 -0
- data/vendor/spidermonkey/jsiter.h +122 -0
- data/vendor/spidermonkey/jskeyword.tbl +124 -0
- data/vendor/spidermonkey/jskwgen.c +460 -0
- data/vendor/spidermonkey/jslibmath.h +266 -0
- data/vendor/spidermonkey/jslock.c +1309 -0
- data/vendor/spidermonkey/jslock.h +313 -0
- data/vendor/spidermonkey/jslocko.asm +60 -0
- data/vendor/spidermonkey/jslog2.c +94 -0
- data/vendor/spidermonkey/jslong.c +264 -0
- data/vendor/spidermonkey/jslong.h +412 -0
- data/vendor/spidermonkey/jsmath.c +568 -0
- data/vendor/spidermonkey/jsmath.h +57 -0
- data/vendor/spidermonkey/jsnum.c +1228 -0
- data/vendor/spidermonkey/jsnum.h +283 -0
- data/vendor/spidermonkey/jsobj.c +5266 -0
- data/vendor/spidermonkey/jsobj.h +709 -0
- data/vendor/spidermonkey/jsopcode.c +5245 -0
- data/vendor/spidermonkey/jsopcode.h +394 -0
- data/vendor/spidermonkey/jsopcode.tbl +523 -0
- data/vendor/spidermonkey/jsotypes.h +202 -0
- data/vendor/spidermonkey/jsparse.c +6680 -0
- data/vendor/spidermonkey/jsparse.h +511 -0
- data/vendor/spidermonkey/jsprf.c +1262 -0
- data/vendor/spidermonkey/jsprf.h +150 -0
- data/vendor/spidermonkey/jsproto.tbl +128 -0
- data/vendor/spidermonkey/jsprvtd.h +267 -0
- data/vendor/spidermonkey/jspubtd.h +744 -0
- data/vendor/spidermonkey/jsregexp.c +4352 -0
- data/vendor/spidermonkey/jsregexp.h +183 -0
- data/vendor/spidermonkey/jsreops.tbl +145 -0
- data/vendor/spidermonkey/jsscan.c +2003 -0
- data/vendor/spidermonkey/jsscan.h +387 -0
- data/vendor/spidermonkey/jsscope.c +1948 -0
- data/vendor/spidermonkey/jsscope.h +418 -0
- data/vendor/spidermonkey/jsscript.c +1832 -0
- data/vendor/spidermonkey/jsscript.h +287 -0
- data/vendor/spidermonkey/jsshell.msg +50 -0
- data/vendor/spidermonkey/jsstddef.h +83 -0
- data/vendor/spidermonkey/jsstr.c +5004 -0
- data/vendor/spidermonkey/jsstr.h +641 -0
- data/vendor/spidermonkey/jstypes.h +475 -0
- data/vendor/spidermonkey/jsutil.c +345 -0
- data/vendor/spidermonkey/jsutil.h +157 -0
- data/vendor/spidermonkey/jsxdrapi.c +800 -0
- data/vendor/spidermonkey/jsxdrapi.h +218 -0
- data/vendor/spidermonkey/jsxml.c +8471 -0
- data/vendor/spidermonkey/jsxml.h +349 -0
- data/vendor/spidermonkey/lock_SunOS.s +119 -0
- data/vendor/spidermonkey/perfect.js +39 -0
- data/vendor/spidermonkey/plify_jsdhash.sed +36 -0
- data/vendor/spidermonkey/prmjtime.c +846 -0
- data/vendor/spidermonkey/prmjtime.h +103 -0
- data/vendor/spidermonkey/resource.h +15 -0
- data/vendor/spidermonkey/rules.mk +197 -0
- data/vendor/spidermonkey/win32.order +384 -0
- metadata +4 -3
Binary file
|
@@ -0,0 +1,307 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2
|
+
*
|
3
|
+
* ***** BEGIN LICENSE BLOCK *****
|
4
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
5
|
+
*
|
6
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
7
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
8
|
+
* the License. You may obtain a copy of the License at
|
9
|
+
* http://www.mozilla.org/MPL/
|
10
|
+
*
|
11
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
12
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
13
|
+
* for the specific language governing rights and limitations under the
|
14
|
+
* License.
|
15
|
+
*
|
16
|
+
* The Original Code is Mozilla Communicator client code, released
|
17
|
+
* March 31, 1998.
|
18
|
+
*
|
19
|
+
* The Initial Developer of the Original Code is
|
20
|
+
* Netscape Communications Corporation.
|
21
|
+
* Portions created by the Initial Developer are Copyright (C) 1998
|
22
|
+
* the Initial Developer. All Rights Reserved.
|
23
|
+
*
|
24
|
+
* Contributor(s):
|
25
|
+
*
|
26
|
+
* Alternatively, the contents of this file may be used under the terms of
|
27
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
28
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
29
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
30
|
+
* of those above. If you wish to allow use of your version of this file only
|
31
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
32
|
+
* use your version of this file under the terms of the MPL, indicate your
|
33
|
+
* decision by deleting the provisions above and replace them with the notice
|
34
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
35
|
+
* the provisions above, a recipient may use your version of this file under
|
36
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
37
|
+
*
|
38
|
+
* ***** END LICENSE BLOCK ***** */
|
39
|
+
|
40
|
+
/*
|
41
|
+
* This is the JavaScript error message file.
|
42
|
+
*
|
43
|
+
* The format for each JS error message is:
|
44
|
+
*
|
45
|
+
* MSG_DEF(<SYMBOLIC_NAME>, <ERROR_NUMBER>, <ARGUMENT_COUNT>, <EXCEPTION_NAME>,
|
46
|
+
* <FORMAT_STRING>)
|
47
|
+
*
|
48
|
+
* where ;
|
49
|
+
* <SYMBOLIC_NAME> is a legal C identifer that will be used in the
|
50
|
+
* JS engine source.
|
51
|
+
*
|
52
|
+
* <ERROR_NUMBER> is an unique integral value identifying this error.
|
53
|
+
*
|
54
|
+
* <ARGUMENT_COUNT> is an integer literal specifying the total number of
|
55
|
+
* replaceable arguments in the following format string.
|
56
|
+
*
|
57
|
+
* <EXCEPTION_NAME> is an exception index from the enum in jsexn.c;
|
58
|
+
* JSEXN_NONE for none. The given exception index will be raised by the
|
59
|
+
* engine when the corresponding error occurs.
|
60
|
+
*
|
61
|
+
* <FORMAT_STRING> is a string literal, optionally containing sequences
|
62
|
+
* {X} where X is an integer representing the argument number that will
|
63
|
+
* be replaced with a string value when the error is reported.
|
64
|
+
*
|
65
|
+
* e.g.
|
66
|
+
*
|
67
|
+
* MSG_DEF(JSMSG_NOT_A_SUBSPECIES, 73, JSEXN_NONE, 2,
|
68
|
+
* "{0} is not a member of the {1} family")
|
69
|
+
*
|
70
|
+
* can be used:
|
71
|
+
*
|
72
|
+
* JS_ReportErrorNumber(JSMSG_NOT_A_SUBSPECIES, "Rhino", "Monkey");
|
73
|
+
*
|
74
|
+
* to report:
|
75
|
+
*
|
76
|
+
* "Rhino is not a member of the Monkey family"
|
77
|
+
*
|
78
|
+
* Before adding a new MSG_DEF at the end, look for JSMSG_UNUSED<n> free
|
79
|
+
* index placeholders in the middle of the list.
|
80
|
+
*/
|
81
|
+
|
82
|
+
MSG_DEF(JSMSG_NOT_AN_ERROR, 0, 0, JSEXN_NONE, "<Error #0 is reserved>")
|
83
|
+
MSG_DEF(JSMSG_NOT_DEFINED, 1, 1, JSEXN_REFERENCEERR, "{0} is not defined")
|
84
|
+
MSG_DEF(JSMSG_INACTIVE, 2, 0, JSEXN_INTERNALERR, "nothing active on context")
|
85
|
+
MSG_DEF(JSMSG_MORE_ARGS_NEEDED, 3, 3, JSEXN_TYPEERR, "{0} requires more than {1} argument{2}")
|
86
|
+
MSG_DEF(JSMSG_BAD_CHAR, 4, 1, JSEXN_INTERNALERR, "invalid format character {0}")
|
87
|
+
MSG_DEF(JSMSG_BAD_TYPE, 5, 1, JSEXN_TYPEERR, "unknown type {0}")
|
88
|
+
MSG_DEF(JSMSG_ALLOC_OVERFLOW, 6, 0, JSEXN_INTERNALERR, "allocation size overflow")
|
89
|
+
MSG_DEF(JSMSG_CANT_UNLOCK, 7, 0, JSEXN_INTERNALERR, "can't unlock memory")
|
90
|
+
MSG_DEF(JSMSG_INCOMPATIBLE_PROTO, 8, 3, JSEXN_TYPEERR, "{0}.prototype.{1} called on incompatible {2}")
|
91
|
+
MSG_DEF(JSMSG_NO_CONSTRUCTOR, 9, 1, JSEXN_TYPEERR, "{0} has no constructor")
|
92
|
+
MSG_DEF(JSMSG_CANT_ALIAS, 10, 3, JSEXN_TYPEERR, "can't alias {0} to {1} in class {2}")
|
93
|
+
MSG_DEF(JSMSG_NOT_SCRIPTED_FUNCTION, 11, 1, JSEXN_TYPEERR, "{0} is not a scripted function")
|
94
|
+
MSG_DEF(JSMSG_BAD_SORT_ARG, 12, 0, JSEXN_TYPEERR, "invalid Array.prototype.sort argument")
|
95
|
+
MSG_DEF(JSMSG_BAD_ATOMIC_NUMBER, 13, 1, JSEXN_INTERNALERR, "internal error: no index for atom {0}")
|
96
|
+
MSG_DEF(JSMSG_TOO_MANY_LITERALS, 14, 0, JSEXN_INTERNALERR, "too many literals")
|
97
|
+
MSG_DEF(JSMSG_CANT_WATCH, 15, 1, JSEXN_TYPEERR, "can't watch non-native objects of class {0}")
|
98
|
+
MSG_DEF(JSMSG_STACK_UNDERFLOW, 16, 2, JSEXN_INTERNALERR, "internal error compiling {0}: stack underflow at pc {1}")
|
99
|
+
MSG_DEF(JSMSG_NEED_DIET, 17, 1, JSEXN_INTERNALERR, "{0} too large")
|
100
|
+
MSG_DEF(JSMSG_TOO_MANY_LOCAL_ROOTS, 18, 0, JSEXN_ERR, "out of local root space")
|
101
|
+
MSG_DEF(JSMSG_READ_ONLY, 19, 1, JSEXN_ERR, "{0} is read-only")
|
102
|
+
MSG_DEF(JSMSG_BAD_FORMAL, 20, 0, JSEXN_SYNTAXERR, "malformed formal parameter")
|
103
|
+
MSG_DEF(JSMSG_BAD_ITERATOR, 21, 3, JSEXN_TYPEERR, "{0} has invalid {1} value {2}")
|
104
|
+
MSG_DEF(JSMSG_NOT_FUNCTION, 22, 1, JSEXN_TYPEERR, "{0} is not a function")
|
105
|
+
MSG_DEF(JSMSG_NOT_CONSTRUCTOR, 23, 1, JSEXN_TYPEERR, "{0} is not a constructor")
|
106
|
+
MSG_DEF(JSMSG_SCRIPT_STACK_QUOTA, 24, 0, JSEXN_INTERNALERR, "script stack space quota is exhausted")
|
107
|
+
MSG_DEF(JSMSG_NOT_EXPORTED, 25, 1, JSEXN_TYPEERR, "{0} is not exported")
|
108
|
+
MSG_DEF(JSMSG_OVER_RECURSED, 26, 0, JSEXN_INTERNALERR, "too much recursion")
|
109
|
+
MSG_DEF(JSMSG_IN_NOT_OBJECT, 27, 1, JSEXN_TYPEERR, "invalid 'in' operand {0}")
|
110
|
+
MSG_DEF(JSMSG_BAD_NEW_RESULT, 28, 1, JSEXN_TYPEERR, "invalid new expression result {0}")
|
111
|
+
MSG_DEF(JSMSG_BAD_SHARP_DEF, 29, 1, JSEXN_ERR, "invalid sharp variable definition #{0}=")
|
112
|
+
MSG_DEF(JSMSG_BAD_SHARP_USE, 30, 1, JSEXN_ERR, "invalid sharp variable use #{0}#")
|
113
|
+
MSG_DEF(JSMSG_BAD_INSTANCEOF_RHS, 31, 1, JSEXN_TYPEERR, "invalid 'instanceof' operand {0}")
|
114
|
+
MSG_DEF(JSMSG_BAD_BYTECODE, 32, 1, JSEXN_INTERNALERR, "unimplemented JavaScript bytecode {0}")
|
115
|
+
MSG_DEF(JSMSG_BAD_RADIX, 33, 1, JSEXN_ERR, "illegal radix {0}")
|
116
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_LET, 34, 0, JSEXN_SYNTAXERR, "missing ( before let head")
|
117
|
+
MSG_DEF(JSMSG_CANT_CONVERT, 35, 1, JSEXN_ERR, "can't convert {0} to an integer")
|
118
|
+
MSG_DEF(JSMSG_CYCLIC_VALUE, 36, 1, JSEXN_ERR, "cyclic {0} value")
|
119
|
+
MSG_DEF(JSMSG_COMPILE_EXECED_SCRIPT, 37, 0, JSEXN_TYPEERR, "cannot compile over a script that is currently executing")
|
120
|
+
MSG_DEF(JSMSG_CANT_CONVERT_TO, 38, 2, JSEXN_TYPEERR, "can't convert {0} to {1}")
|
121
|
+
MSG_DEF(JSMSG_NO_PROPERTIES, 39, 1, JSEXN_TYPEERR, "{0} has no properties")
|
122
|
+
MSG_DEF(JSMSG_CANT_FIND_CLASS, 40, 1, JSEXN_TYPEERR, "can't find class id {0}")
|
123
|
+
MSG_DEF(JSMSG_CANT_XDR_CLASS, 41, 1, JSEXN_TYPEERR, "can't XDR class {0}")
|
124
|
+
MSG_DEF(JSMSG_BYTECODE_TOO_BIG, 42, 2, JSEXN_INTERNALERR, "bytecode {0} too large (limit {1})")
|
125
|
+
MSG_DEF(JSMSG_UNKNOWN_FORMAT, 43, 1, JSEXN_INTERNALERR, "unknown bytecode format {0}")
|
126
|
+
MSG_DEF(JSMSG_TOO_MANY_CON_ARGS, 44, 0, JSEXN_SYNTAXERR, "too many constructor arguments")
|
127
|
+
MSG_DEF(JSMSG_TOO_MANY_FUN_ARGS, 45, 0, JSEXN_SYNTAXERR, "too many function arguments")
|
128
|
+
MSG_DEF(JSMSG_BAD_QUANTIFIER, 46, 1, JSEXN_SYNTAXERR, "invalid quantifier {0}")
|
129
|
+
MSG_DEF(JSMSG_MIN_TOO_BIG, 47, 1, JSEXN_SYNTAXERR, "overlarge minimum {0}")
|
130
|
+
MSG_DEF(JSMSG_MAX_TOO_BIG, 48, 1, JSEXN_SYNTAXERR, "overlarge maximum {0}")
|
131
|
+
MSG_DEF(JSMSG_OUT_OF_ORDER, 49, 1, JSEXN_SYNTAXERR, "maximum {0} less than minimum")
|
132
|
+
MSG_DEF(JSMSG_BAD_DESTRUCT_DECL, 50, 0, JSEXN_SYNTAXERR, "missing = in destructuring declaration")
|
133
|
+
MSG_DEF(JSMSG_BAD_DESTRUCT_ASS, 51, 0, JSEXN_SYNTAXERR, "invalid destructuring assignment operator")
|
134
|
+
MSG_DEF(JSMSG_PAREN_AFTER_LET, 52, 0, JSEXN_SYNTAXERR, "missing ) after let head")
|
135
|
+
MSG_DEF(JSMSG_CURLY_AFTER_LET, 53, 0, JSEXN_SYNTAXERR, "missing } after let block")
|
136
|
+
MSG_DEF(JSMSG_MISSING_PAREN, 54, 0, JSEXN_SYNTAXERR, "unterminated parenthetical")
|
137
|
+
MSG_DEF(JSMSG_UNTERM_CLASS, 55, 1, JSEXN_SYNTAXERR, "unterminated character class {0}")
|
138
|
+
MSG_DEF(JSMSG_TRAILING_SLASH, 56, 0, JSEXN_SYNTAXERR, "trailing \\ in regular expression")
|
139
|
+
MSG_DEF(JSMSG_BAD_CLASS_RANGE, 57, 0, JSEXN_SYNTAXERR, "invalid range in character class")
|
140
|
+
MSG_DEF(JSMSG_BAD_FLAG, 58, 1, JSEXN_SYNTAXERR, "invalid regular expression flag {0}")
|
141
|
+
MSG_DEF(JSMSG_NO_INPUT, 59, 5, JSEXN_SYNTAXERR, "no input for /{0}/{1}{2}{3}{4}")
|
142
|
+
MSG_DEF(JSMSG_CANT_OPEN, 60, 2, JSEXN_ERR, "can't open {0}: {1}")
|
143
|
+
MSG_DEF(JSMSG_BAD_STRING_MASK, 61, 1, JSEXN_ERR, "invalid string escape mask {0}")
|
144
|
+
MSG_DEF(JSMSG_UNMATCHED_RIGHT_PAREN, 62, 0, JSEXN_SYNTAXERR, "unmatched ) in regular expression")
|
145
|
+
MSG_DEF(JSMSG_END_OF_DATA, 63, 0, JSEXN_INTERNALERR, "unexpected end of data")
|
146
|
+
MSG_DEF(JSMSG_SEEK_BEYOND_START, 64, 0, JSEXN_INTERNALERR, "illegal seek beyond start")
|
147
|
+
MSG_DEF(JSMSG_SEEK_BEYOND_END, 65, 0, JSEXN_INTERNALERR, "illegal seek beyond end")
|
148
|
+
MSG_DEF(JSMSG_END_SEEK, 66, 0, JSEXN_INTERNALERR, "illegal end-based seek")
|
149
|
+
MSG_DEF(JSMSG_WHITHER_WHENCE, 67, 1, JSEXN_INTERNALERR, "unknown seek whence: {0}")
|
150
|
+
MSG_DEF(JSMSG_BAD_SCRIPT_MAGIC, 68, 0, JSEXN_INTERNALERR, "bad script XDR magic number")
|
151
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_FORMAL, 69, 0, JSEXN_SYNTAXERR, "missing ( before formal parameters")
|
152
|
+
MSG_DEF(JSMSG_MISSING_FORMAL, 70, 0, JSEXN_SYNTAXERR, "missing formal parameter")
|
153
|
+
MSG_DEF(JSMSG_PAREN_AFTER_FORMAL, 71, 0, JSEXN_SYNTAXERR, "missing ) after formal parameters")
|
154
|
+
MSG_DEF(JSMSG_CURLY_BEFORE_BODY, 72, 0, JSEXN_SYNTAXERR, "missing { before function body")
|
155
|
+
MSG_DEF(JSMSG_CURLY_AFTER_BODY, 73, 0, JSEXN_SYNTAXERR, "missing } after function body")
|
156
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_COND, 74, 0, JSEXN_SYNTAXERR, "missing ( before condition")
|
157
|
+
MSG_DEF(JSMSG_PAREN_AFTER_COND, 75, 0, JSEXN_SYNTAXERR, "missing ) after condition")
|
158
|
+
MSG_DEF(JSMSG_NO_IMPORT_NAME, 76, 0, JSEXN_SYNTAXERR, "missing name in import statement")
|
159
|
+
MSG_DEF(JSMSG_NAME_AFTER_DOT, 77, 0, JSEXN_SYNTAXERR, "missing name after . operator")
|
160
|
+
MSG_DEF(JSMSG_BRACKET_IN_INDEX, 78, 0, JSEXN_SYNTAXERR, "missing ] in index expression")
|
161
|
+
MSG_DEF(JSMSG_NO_EXPORT_NAME, 79, 0, JSEXN_SYNTAXERR, "missing name in export statement")
|
162
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_SWITCH, 80, 0, JSEXN_SYNTAXERR, "missing ( before switch expression")
|
163
|
+
MSG_DEF(JSMSG_PAREN_AFTER_SWITCH, 81, 0, JSEXN_SYNTAXERR, "missing ) after switch expression")
|
164
|
+
MSG_DEF(JSMSG_CURLY_BEFORE_SWITCH, 82, 0, JSEXN_SYNTAXERR, "missing { before switch body")
|
165
|
+
MSG_DEF(JSMSG_COLON_AFTER_CASE, 83, 0, JSEXN_SYNTAXERR, "missing : after case label")
|
166
|
+
MSG_DEF(JSMSG_WHILE_AFTER_DO, 84, 0, JSEXN_SYNTAXERR, "missing while after do-loop body")
|
167
|
+
MSG_DEF(JSMSG_PAREN_AFTER_FOR, 85, 0, JSEXN_SYNTAXERR, "missing ( after for")
|
168
|
+
MSG_DEF(JSMSG_SEMI_AFTER_FOR_INIT, 86, 0, JSEXN_SYNTAXERR, "missing ; after for-loop initializer")
|
169
|
+
MSG_DEF(JSMSG_SEMI_AFTER_FOR_COND, 87, 0, JSEXN_SYNTAXERR, "missing ; after for-loop condition")
|
170
|
+
MSG_DEF(JSMSG_PAREN_AFTER_FOR_CTRL, 88, 0, JSEXN_SYNTAXERR, "missing ) after for-loop control")
|
171
|
+
MSG_DEF(JSMSG_CURLY_BEFORE_TRY, 89, 0, JSEXN_SYNTAXERR, "missing { before try block")
|
172
|
+
MSG_DEF(JSMSG_CURLY_AFTER_TRY, 90, 0, JSEXN_SYNTAXERR, "missing } after try block")
|
173
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_CATCH, 91, 0, JSEXN_SYNTAXERR, "missing ( before catch")
|
174
|
+
MSG_DEF(JSMSG_CATCH_IDENTIFIER, 92, 0, JSEXN_SYNTAXERR, "missing identifier in catch")
|
175
|
+
MSG_DEF(JSMSG_PAREN_AFTER_CATCH, 93, 0, JSEXN_SYNTAXERR, "missing ) after catch")
|
176
|
+
MSG_DEF(JSMSG_CURLY_BEFORE_CATCH, 94, 0, JSEXN_SYNTAXERR, "missing { before catch block")
|
177
|
+
MSG_DEF(JSMSG_CURLY_AFTER_CATCH, 95, 0, JSEXN_SYNTAXERR, "missing } after catch block")
|
178
|
+
MSG_DEF(JSMSG_CURLY_BEFORE_FINALLY, 96, 0, JSEXN_SYNTAXERR, "missing { before finally block")
|
179
|
+
MSG_DEF(JSMSG_CURLY_AFTER_FINALLY, 97, 0, JSEXN_SYNTAXERR, "missing } after finally block")
|
180
|
+
MSG_DEF(JSMSG_CATCH_OR_FINALLY, 98, 0, JSEXN_SYNTAXERR, "missing catch or finally after try")
|
181
|
+
MSG_DEF(JSMSG_PAREN_BEFORE_WITH, 99, 0, JSEXN_SYNTAXERR, "missing ( before with-statement object")
|
182
|
+
MSG_DEF(JSMSG_PAREN_AFTER_WITH, 100, 0, JSEXN_SYNTAXERR, "missing ) after with-statement object")
|
183
|
+
MSG_DEF(JSMSG_CURLY_IN_COMPOUND, 101, 0, JSEXN_SYNTAXERR, "missing } in compound statement")
|
184
|
+
MSG_DEF(JSMSG_NO_VARIABLE_NAME, 102, 0, JSEXN_SYNTAXERR, "missing variable name")
|
185
|
+
MSG_DEF(JSMSG_COLON_IN_COND, 103, 0, JSEXN_SYNTAXERR, "missing : in conditional expression")
|
186
|
+
MSG_DEF(JSMSG_PAREN_AFTER_ARGS, 104, 0, JSEXN_SYNTAXERR, "missing ) after argument list")
|
187
|
+
MSG_DEF(JSMSG_BRACKET_AFTER_LIST, 105, 0, JSEXN_SYNTAXERR, "missing ] after element list")
|
188
|
+
MSG_DEF(JSMSG_COLON_AFTER_ID, 106, 0, JSEXN_SYNTAXERR, "missing : after property id")
|
189
|
+
MSG_DEF(JSMSG_CURLY_AFTER_LIST, 107, 0, JSEXN_SYNTAXERR, "missing } after property list")
|
190
|
+
MSG_DEF(JSMSG_PAREN_IN_PAREN, 108, 0, JSEXN_SYNTAXERR, "missing ) in parenthetical")
|
191
|
+
MSG_DEF(JSMSG_SEMI_BEFORE_STMNT, 109, 0, JSEXN_SYNTAXERR, "missing ; before statement")
|
192
|
+
MSG_DEF(JSMSG_NO_RETURN_VALUE, 110, 1, JSEXN_TYPEERR, "function {0} does not always return a value")
|
193
|
+
MSG_DEF(JSMSG_DUPLICATE_FORMAL, 111, 1, JSEXN_TYPEERR, "duplicate formal argument {0}")
|
194
|
+
MSG_DEF(JSMSG_EQUAL_AS_ASSIGN, 112, 1, JSEXN_SYNTAXERR, "test for equality (==) mistyped as assignment (=)?{0}")
|
195
|
+
MSG_DEF(JSMSG_BAD_IMPORT, 113, 0, JSEXN_SYNTAXERR, "invalid import expression")
|
196
|
+
MSG_DEF(JSMSG_TOO_MANY_DEFAULTS, 114, 0, JSEXN_SYNTAXERR, "more than one switch default")
|
197
|
+
MSG_DEF(JSMSG_TOO_MANY_CASES, 115, 0, JSEXN_INTERNALERR, "too many switch cases")
|
198
|
+
MSG_DEF(JSMSG_BAD_SWITCH, 116, 0, JSEXN_SYNTAXERR, "invalid switch statement")
|
199
|
+
MSG_DEF(JSMSG_BAD_FOR_LEFTSIDE, 117, 0, JSEXN_SYNTAXERR, "invalid for/in left-hand side")
|
200
|
+
MSG_DEF(JSMSG_CATCH_AFTER_GENERAL, 118, 0, JSEXN_SYNTAXERR, "catch after unconditional catch")
|
201
|
+
MSG_DEF(JSMSG_CATCH_WITHOUT_TRY, 119, 0, JSEXN_SYNTAXERR, "catch without try")
|
202
|
+
MSG_DEF(JSMSG_FINALLY_WITHOUT_TRY, 120, 0, JSEXN_SYNTAXERR, "finally without try")
|
203
|
+
MSG_DEF(JSMSG_LABEL_NOT_FOUND, 121, 0, JSEXN_SYNTAXERR, "label not found")
|
204
|
+
MSG_DEF(JSMSG_TOUGH_BREAK, 122, 0, JSEXN_SYNTAXERR, "unlabeled break must be inside loop or switch")
|
205
|
+
MSG_DEF(JSMSG_BAD_CONTINUE, 123, 0, JSEXN_SYNTAXERR, "continue must be inside loop")
|
206
|
+
MSG_DEF(JSMSG_BAD_RETURN_OR_YIELD, 124, 1, JSEXN_SYNTAXERR, "{0} not in function")
|
207
|
+
MSG_DEF(JSMSG_BAD_LABEL, 125, 0, JSEXN_SYNTAXERR, "invalid label")
|
208
|
+
MSG_DEF(JSMSG_DUPLICATE_LABEL, 126, 0, JSEXN_SYNTAXERR, "duplicate label")
|
209
|
+
MSG_DEF(JSMSG_VAR_HIDES_ARG, 127, 1, JSEXN_TYPEERR, "variable {0} redeclares argument")
|
210
|
+
MSG_DEF(JSMSG_BAD_VAR_INIT, 128, 0, JSEXN_SYNTAXERR, "invalid variable initialization")
|
211
|
+
MSG_DEF(JSMSG_BAD_LEFTSIDE_OF_ASS, 129, 0, JSEXN_SYNTAXERR, "invalid assignment left-hand side")
|
212
|
+
MSG_DEF(JSMSG_BAD_OPERAND, 130, 1, JSEXN_SYNTAXERR, "invalid {0} operand")
|
213
|
+
MSG_DEF(JSMSG_BAD_PROP_ID, 131, 0, JSEXN_SYNTAXERR, "invalid property id")
|
214
|
+
MSG_DEF(JSMSG_RESERVED_ID, 132, 1, JSEXN_SYNTAXERR, "{0} is a reserved identifier")
|
215
|
+
MSG_DEF(JSMSG_SYNTAX_ERROR, 133, 0, JSEXN_SYNTAXERR, "syntax error")
|
216
|
+
MSG_DEF(JSMSG_BAD_SHARP_VAR_DEF, 134, 0, JSEXN_SYNTAXERR, "invalid sharp variable definition")
|
217
|
+
MSG_DEF(JSMSG_BAD_PROTOTYPE, 135, 1, JSEXN_TYPEERR, "'prototype' property of {0} is not an object")
|
218
|
+
MSG_DEF(JSMSG_MISSING_EXPONENT, 136, 0, JSEXN_SYNTAXERR, "missing exponent")
|
219
|
+
MSG_DEF(JSMSG_OUT_OF_MEMORY, 137, 0, JSEXN_ERR, "out of memory")
|
220
|
+
MSG_DEF(JSMSG_UNTERMINATED_STRING, 138, 0, JSEXN_SYNTAXERR, "unterminated string literal")
|
221
|
+
MSG_DEF(JSMSG_TOO_MANY_PARENS, 139, 0, JSEXN_INTERNALERR, "too many parentheses in regular expression")
|
222
|
+
MSG_DEF(JSMSG_UNTERMINATED_COMMENT, 140, 0, JSEXN_SYNTAXERR, "unterminated comment")
|
223
|
+
MSG_DEF(JSMSG_UNTERMINATED_REGEXP, 141, 0, JSEXN_SYNTAXERR, "unterminated regular expression literal")
|
224
|
+
MSG_DEF(JSMSG_BAD_REGEXP_FLAG, 142, 0, JSEXN_SYNTAXERR, "invalid flag after regular expression")
|
225
|
+
MSG_DEF(JSMSG_SHARPVAR_TOO_BIG, 143, 0, JSEXN_SYNTAXERR, "overlarge sharp variable number")
|
226
|
+
MSG_DEF(JSMSG_ILLEGAL_CHARACTER, 144, 0, JSEXN_SYNTAXERR, "illegal character")
|
227
|
+
MSG_DEF(JSMSG_BAD_OCTAL, 145, 1, JSEXN_SYNTAXERR, "{0} is not a legal ECMA-262 octal constant")
|
228
|
+
MSG_DEF(JSMSG_BAD_INDIRECT_CALL, 146, 1, JSEXN_EVALERR, "function {0} must be called directly, and not by way of a function of another name")
|
229
|
+
MSG_DEF(JSMSG_UNCAUGHT_EXCEPTION, 147, 1, JSEXN_INTERNALERR, "uncaught exception: {0}")
|
230
|
+
MSG_DEF(JSMSG_INVALID_BACKREF, 148, 0, JSEXN_SYNTAXERR, "non-octal digit in an escape sequence that doesn't match a back-reference")
|
231
|
+
MSG_DEF(JSMSG_BAD_BACKREF, 149, 0, JSEXN_SYNTAXERR, "back-reference exceeds number of capturing parentheses")
|
232
|
+
MSG_DEF(JSMSG_PRECISION_RANGE, 150, 1, JSEXN_RANGEERR, "precision {0} out of range")
|
233
|
+
MSG_DEF(JSMSG_BAD_GETTER_OR_SETTER, 151, 1, JSEXN_SYNTAXERR, "invalid {0} usage")
|
234
|
+
MSG_DEF(JSMSG_BAD_ARRAY_LENGTH, 152, 0, JSEXN_RANGEERR, "invalid array length")
|
235
|
+
MSG_DEF(JSMSG_CANT_DESCRIBE_PROPS, 153, 1, JSEXN_TYPEERR, "can't describe non-native properties of class {0}")
|
236
|
+
MSG_DEF(JSMSG_BAD_APPLY_ARGS, 154, 1, JSEXN_TYPEERR, "second argument to Function.prototype.{0} must be an array")
|
237
|
+
MSG_DEF(JSMSG_REDECLARED_VAR, 155, 2, JSEXN_TYPEERR, "redeclaration of {0} {1}")
|
238
|
+
MSG_DEF(JSMSG_UNDECLARED_VAR, 156, 1, JSEXN_TYPEERR, "assignment to undeclared variable {0}")
|
239
|
+
MSG_DEF(JSMSG_ANON_NO_RETURN_VALUE, 157, 0, JSEXN_TYPEERR, "anonymous function does not always return a value")
|
240
|
+
MSG_DEF(JSMSG_DEPRECATED_USAGE, 158, 1, JSEXN_REFERENCEERR, "deprecated {0} usage")
|
241
|
+
MSG_DEF(JSMSG_BAD_URI, 159, 0, JSEXN_URIERR, "malformed URI sequence")
|
242
|
+
MSG_DEF(JSMSG_GETTER_ONLY, 160, 0, JSEXN_TYPEERR, "setting a property that has only a getter")
|
243
|
+
MSG_DEF(JSMSG_TRAILING_COMMA, 161, 0, JSEXN_SYNTAXERR, "trailing comma is not legal in ECMA-262 object initializers")
|
244
|
+
MSG_DEF(JSMSG_UNDEFINED_PROP, 162, 1, JSEXN_REFERENCEERR, "reference to undefined property {0}")
|
245
|
+
MSG_DEF(JSMSG_USELESS_EXPR, 163, 0, JSEXN_TYPEERR, "useless expression")
|
246
|
+
MSG_DEF(JSMSG_REDECLARED_PARAM, 164, 1, JSEXN_TYPEERR, "redeclaration of formal parameter {0}")
|
247
|
+
MSG_DEF(JSMSG_NEWREGEXP_FLAGGED, 165, 0, JSEXN_TYPEERR, "can't supply flags when constructing one RegExp from another")
|
248
|
+
MSG_DEF(JSMSG_RESERVED_SLOT_RANGE, 166, 0, JSEXN_RANGEERR, "reserved slot index out of range")
|
249
|
+
MSG_DEF(JSMSG_CANT_DECODE_PRINCIPALS, 167, 0, JSEXN_INTERNALERR, "can't decode JSPrincipals")
|
250
|
+
MSG_DEF(JSMSG_CANT_SEAL_OBJECT, 168, 1, JSEXN_ERR, "can't seal {0} objects")
|
251
|
+
MSG_DEF(JSMSG_TOO_MANY_CATCH_VARS, 169, 0, JSEXN_SYNTAXERR, "too many catch variables")
|
252
|
+
MSG_DEF(JSMSG_BAD_XML_MARKUP, 170, 0, JSEXN_SYNTAXERR, "invalid XML markup")
|
253
|
+
MSG_DEF(JSMSG_BAD_XML_CHARACTER, 171, 0, JSEXN_SYNTAXERR, "illegal XML character")
|
254
|
+
MSG_DEF(JSMSG_BAD_DEFAULT_XML_NAMESPACE,172,0,JSEXN_SYNTAXERR, "invalid default XML namespace")
|
255
|
+
MSG_DEF(JSMSG_BAD_XML_NAME_SYNTAX, 173, 0, JSEXN_SYNTAXERR, "invalid XML name")
|
256
|
+
MSG_DEF(JSMSG_BRACKET_AFTER_ATTR_EXPR,174, 0, JSEXN_SYNTAXERR, "missing ] after attribute expression")
|
257
|
+
MSG_DEF(JSMSG_NESTING_GENERATOR, 175, 1, JSEXN_TYPEERR, "already executing generator {0}")
|
258
|
+
MSG_DEF(JSMSG_CURLY_IN_XML_EXPR, 176, 0, JSEXN_SYNTAXERR, "missing } in XML expression")
|
259
|
+
MSG_DEF(JSMSG_BAD_XML_NAMESPACE, 177, 1, JSEXN_TYPEERR, "invalid XML namespace {0}")
|
260
|
+
MSG_DEF(JSMSG_BAD_XML_ATTR_NAME, 178, 1, JSEXN_TYPEERR, "invalid XML attribute name {0}")
|
261
|
+
MSG_DEF(JSMSG_BAD_XML_NAME, 179, 1, JSEXN_TYPEERR, "invalid XML name {0}")
|
262
|
+
MSG_DEF(JSMSG_BAD_XML_CONVERSION, 180, 1, JSEXN_TYPEERR, "can't convert {0} to XML")
|
263
|
+
MSG_DEF(JSMSG_BAD_XMLLIST_CONVERSION, 181, 1, JSEXN_TYPEERR, "can't convert {0} to XMLList")
|
264
|
+
MSG_DEF(JSMSG_BAD_GENERATOR_SEND, 182, 1, JSEXN_TYPEERR, "attempt to send {0} to newborn generator")
|
265
|
+
MSG_DEF(JSMSG_NO_ASSIGN_IN_XML_ATTR, 183, 0, JSEXN_SYNTAXERR, "missing = in XML attribute")
|
266
|
+
MSG_DEF(JSMSG_BAD_XML_ATTR_VALUE, 184, 0, JSEXN_SYNTAXERR, "invalid XML attribute value")
|
267
|
+
MSG_DEF(JSMSG_XML_TAG_NAME_MISMATCH, 185, 1, JSEXN_SYNTAXERR, "XML tag name mismatch (expected {0})")
|
268
|
+
MSG_DEF(JSMSG_BAD_XML_TAG_SYNTAX, 186, 0, JSEXN_SYNTAXERR, "invalid XML tag syntax")
|
269
|
+
MSG_DEF(JSMSG_BAD_XML_LIST_SYNTAX, 187, 0, JSEXN_SYNTAXERR, "invalid XML list syntax")
|
270
|
+
MSG_DEF(JSMSG_INCOMPATIBLE_METHOD, 188, 3, JSEXN_TYPEERR, "{0} {1} called on incompatible {2}")
|
271
|
+
MSG_DEF(JSMSG_CANT_SET_XML_ATTRS, 189, 0, JSEXN_INTERNALERR, "can't set XML property attributes")
|
272
|
+
MSG_DEF(JSMSG_END_OF_XML_SOURCE, 190, 0, JSEXN_SYNTAXERR, "unexpected end of XML source")
|
273
|
+
MSG_DEF(JSMSG_END_OF_XML_ENTITY, 191, 0, JSEXN_SYNTAXERR, "unexpected end of XML entity")
|
274
|
+
MSG_DEF(JSMSG_BAD_XML_QNAME, 192, 0, JSEXN_SYNTAXERR, "invalid XML qualified name")
|
275
|
+
MSG_DEF(JSMSG_BAD_FOR_EACH_LOOP, 193, 0, JSEXN_SYNTAXERR, "invalid for each loop")
|
276
|
+
MSG_DEF(JSMSG_BAD_XMLLIST_PUT, 194, 1, JSEXN_TYPEERR, "can't set property {0} in XMLList")
|
277
|
+
MSG_DEF(JSMSG_UNKNOWN_XML_ENTITY, 195, 1, JSEXN_TYPEERR, "unknown XML entity {0}")
|
278
|
+
MSG_DEF(JSMSG_BAD_XML_NCR, 196, 1, JSEXN_TYPEERR, "malformed XML character {0}")
|
279
|
+
MSG_DEF(JSMSG_UNDEFINED_XML_NAME, 197, 1, JSEXN_REFERENCEERR, "reference to undefined XML name {0}")
|
280
|
+
MSG_DEF(JSMSG_DUPLICATE_XML_ATTR, 198, 1, JSEXN_TYPEERR, "duplicate XML attribute {0}")
|
281
|
+
MSG_DEF(JSMSG_TOO_MANY_FUN_VARS, 199, 0, JSEXN_SYNTAXERR, "too many local variables")
|
282
|
+
MSG_DEF(JSMSG_ARRAY_INIT_TOO_BIG, 200, 0, JSEXN_INTERNALERR, "array initialiser too large")
|
283
|
+
MSG_DEF(JSMSG_REGEXP_TOO_COMPLEX, 201, 0, JSEXN_INTERNALERR, "regular expression too complex")
|
284
|
+
MSG_DEF(JSMSG_BUFFER_TOO_SMALL, 202, 0, JSEXN_INTERNALERR, "buffer too small")
|
285
|
+
MSG_DEF(JSMSG_BAD_SURROGATE_CHAR, 203, 1, JSEXN_TYPEERR, "bad surrogate character {0}")
|
286
|
+
MSG_DEF(JSMSG_UTF8_CHAR_TOO_LARGE, 204, 1, JSEXN_TYPEERR, "UTF-8 character {0} too large")
|
287
|
+
MSG_DEF(JSMSG_MALFORMED_UTF8_CHAR, 205, 1, JSEXN_TYPEERR, "malformed UTF-8 character sequence at offset {0}")
|
288
|
+
MSG_DEF(JSMSG_USER_DEFINED_ERROR, 206, 0, JSEXN_ERR, "JS_ReportError was called")
|
289
|
+
MSG_DEF(JSMSG_WRONG_CONSTRUCTOR, 207, 1, JSEXN_TYPEERR, "wrong constructor called for {0}")
|
290
|
+
MSG_DEF(JSMSG_BAD_GENERATOR_RETURN, 208, 1, JSEXN_TYPEERR, "generator function {0} returns a value")
|
291
|
+
MSG_DEF(JSMSG_BAD_ANON_GENERATOR_RETURN, 209, 0, JSEXN_TYPEERR, "anonymous generator function returns a value")
|
292
|
+
MSG_DEF(JSMSG_NAME_AFTER_FOR_PAREN, 210, 0, JSEXN_SYNTAXERR, "missing name after for (")
|
293
|
+
MSG_DEF(JSMSG_IN_AFTER_FOR_NAME, 211, 0, JSEXN_SYNTAXERR, "missing in after for")
|
294
|
+
MSG_DEF(JSMSG_BAD_ITERATOR_RETURN, 212, 2, JSEXN_TYPEERR, "{0}.{1} returned a primitive value")
|
295
|
+
MSG_DEF(JSMSG_KEYWORD_NOT_NS, 213, 0, JSEXN_SYNTAXERR, "keyword is used as namespace")
|
296
|
+
MSG_DEF(JSMSG_BAD_GENERATOR_YIELD, 214, 1, JSEXN_TYPEERR, "yield from closing generator {0}")
|
297
|
+
MSG_DEF(JSMSG_BAD_GENERATOR_SYNTAX, 215, 1, JSEXN_SYNTAXERR, "{0} expression must be parenthesized")
|
298
|
+
MSG_DEF(JSMSG_ARRAY_COMP_LEFTSIDE, 216, 0, JSEXN_SYNTAXERR, "invalid array comprehension left-hand side")
|
299
|
+
MSG_DEF(JSMSG_NON_XML_FILTER, 217, 1, JSEXN_TYPEERR, "XML filter is applied to non-XML value {0}")
|
300
|
+
MSG_DEF(JSMSG_EMPTY_ARRAY_REDUCE, 218, 0, JSEXN_TYPEERR, "reduce of empty array with no initial value")
|
301
|
+
MSG_DEF(JSMSG_NON_LIST_XML_METHOD, 219, 2, JSEXN_TYPEERR, "cannot call {0} method on an XML list with {1} elements")
|
302
|
+
MSG_DEF(JSMSG_BAD_DELETE_OPERAND, 220, 0, JSEXN_SYNTAXERR, "invalid delete operand")
|
303
|
+
MSG_DEF(JSMSG_BAD_INCOP_OPERAND, 221, 0, JSEXN_SYNTAXERR, "invalid increment/decrement operand")
|
304
|
+
MSG_DEF(JSMSG_NULL_OR_UNDEFINED, 222, 2, JSEXN_TYPEERR, "{0} is {1}")
|
305
|
+
MSG_DEF(JSMSG_LET_DECL_NOT_IN_BLOCK, 223, 0, JSEXN_SYNTAXERR, "let declaration not directly within block")
|
306
|
+
MSG_DEF(JSMSG_BAD_OBJECT_INIT, 224, 0, JSEXN_SYNTAXERR, "invalid object initializer")
|
307
|
+
MSG_DEF(JSMSG_CANT_SET_ARRAY_ATTRS, 225, 0, JSEXN_INTERNALERR, "can't set attributes on indexed array properties")
|
@@ -0,0 +1,79 @@
|
|
1
|
+
//Microsoft Developer Studio generated resource script.
|
2
|
+
//
|
3
|
+
#include "resource.h"
|
4
|
+
|
5
|
+
#define APSTUDIO_READONLY_SYMBOLS
|
6
|
+
/////////////////////////////////////////////////////////////////////////////
|
7
|
+
//
|
8
|
+
// Generated from the TEXTINCLUDE 2 resource.
|
9
|
+
//
|
10
|
+
#include "winver.h"
|
11
|
+
|
12
|
+
/////////////////////////////////////////////////////////////////////////////
|
13
|
+
#undef APSTUDIO_READONLY_SYMBOLS
|
14
|
+
|
15
|
+
/////////////////////////////////////////////////////////////////////////////
|
16
|
+
//
|
17
|
+
// Version
|
18
|
+
//
|
19
|
+
|
20
|
+
VS_VERSION_INFO VERSIONINFO
|
21
|
+
FILEVERSION 4,0,0,0
|
22
|
+
PRODUCTVERSION 4,0,0,0
|
23
|
+
FILEFLAGSMASK 0x3fL
|
24
|
+
#ifdef _DEBUG
|
25
|
+
FILEFLAGS 0x1L
|
26
|
+
#else
|
27
|
+
FILEFLAGS 0x0L
|
28
|
+
#endif
|
29
|
+
FILEOS 0x10004L
|
30
|
+
FILETYPE 0x2L
|
31
|
+
FILESUBTYPE 0x0L
|
32
|
+
BEGIN
|
33
|
+
BLOCK "StringFileInfo"
|
34
|
+
BEGIN
|
35
|
+
BLOCK "040904e4"
|
36
|
+
BEGIN
|
37
|
+
VALUE "CompanyName", "Netscape Communications Corporation\0"
|
38
|
+
VALUE "FileDescription", "Netscape 32-bit JavaScript Module\0"
|
39
|
+
VALUE "FileVersion", "4.0\0"
|
40
|
+
VALUE "InternalName", "JS3240\0"
|
41
|
+
VALUE "LegalCopyright", "Copyright Netscape Communications. 1994-96\0"
|
42
|
+
VALUE "LegalTrademarks", "Netscape, Mozilla\0"
|
43
|
+
VALUE "OriginalFilename", "js3240.dll\0"
|
44
|
+
VALUE "ProductName", "NETSCAPE\0"
|
45
|
+
VALUE "ProductVersion", "4.0\0"
|
46
|
+
END
|
47
|
+
END
|
48
|
+
BLOCK "VarFileInfo"
|
49
|
+
BEGIN
|
50
|
+
VALUE "Translation", 0x409, 1252
|
51
|
+
END
|
52
|
+
END
|
53
|
+
|
54
|
+
#ifdef APSTUDIO_INVOKED
|
55
|
+
/////////////////////////////////////////////////////////////////////////////
|
56
|
+
//
|
57
|
+
// TEXTINCLUDE
|
58
|
+
//
|
59
|
+
|
60
|
+
1 TEXTINCLUDE DISCARDABLE
|
61
|
+
BEGIN
|
62
|
+
"resource.h\0"
|
63
|
+
END
|
64
|
+
|
65
|
+
2 TEXTINCLUDE DISCARDABLE
|
66
|
+
BEGIN
|
67
|
+
"#include ""winver.h""\r\n"
|
68
|
+
"\0"
|
69
|
+
END
|
70
|
+
|
71
|
+
3 TEXTINCLUDE DISCARDABLE
|
72
|
+
BEGIN
|
73
|
+
"\r\n"
|
74
|
+
"\0"
|
75
|
+
END
|
76
|
+
|
77
|
+
#endif // APSTUDIO_INVOKED
|
78
|
+
|
79
|
+
/////////////////////////////////////////////////////////////////////////////
|
@@ -0,0 +1,654 @@
|
|
1
|
+
; ***** BEGIN LICENSE BLOCK *****
|
2
|
+
; Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
3
|
+
;
|
4
|
+
; The contents of this file are subject to the Mozilla Public License Version
|
5
|
+
; 1.1 (the "License"); you may not use this file except in compliance with
|
6
|
+
; the License. You may obtain a copy of the License at
|
7
|
+
; http://www.mozilla.org/MPL/
|
8
|
+
;
|
9
|
+
; Software distributed under the License is distributed on an "AS IS" basis,
|
10
|
+
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11
|
+
; for the specific language governing rights and limitations under the
|
12
|
+
; License.
|
13
|
+
;
|
14
|
+
; The Original Code is Mozilla Communicator client code, released
|
15
|
+
; March 31, 1998.
|
16
|
+
;
|
17
|
+
; The Initial Developer of the Original Code is
|
18
|
+
; Netscape Communications Corporation.
|
19
|
+
; Portions created by the Initial Developer are Copyright (C) 1998
|
20
|
+
; the Initial Developer. All Rights Reserved.
|
21
|
+
;
|
22
|
+
; Contributor(s):
|
23
|
+
;
|
24
|
+
; Alternatively, the contents of this file may be used under the terms of
|
25
|
+
; either of the GNU General Public License Version 2 or later (the "GPL"),
|
26
|
+
; or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
27
|
+
; in which case the provisions of the GPL or the LGPL are applicable instead
|
28
|
+
; of those above. If you wish to allow use of your version of this file only
|
29
|
+
; under the terms of either the GPL or the LGPL, and not to allow others to
|
30
|
+
; use your version of this file under the terms of the MPL, indicate your
|
31
|
+
; decision by deleting the provisions above and replace them with the notice
|
32
|
+
; and other provisions required by the GPL or the LGPL. If you do not delete
|
33
|
+
; the provisions above, a recipient may use your version of this file under
|
34
|
+
; the terms of any one of the MPL, the GPL or the LGPL.
|
35
|
+
;
|
36
|
+
; ***** END LICENSE BLOCK *****
|
37
|
+
|
38
|
+
LIBRARY JS3240 INITINSTANCE TERMINSTANCE
|
39
|
+
PROTMODE
|
40
|
+
|
41
|
+
DESCRIPTION 'Netscape OS/2 JavaScript Library'
|
42
|
+
|
43
|
+
|
44
|
+
CODE LOADONCALL MOVEABLE DISCARDABLE
|
45
|
+
DATA PRELOAD MOVEABLE MULTIPLE NONSHARED
|
46
|
+
|
47
|
+
|
48
|
+
EXPORTS
|
49
|
+
;====================== win16 exports these at least... ===========
|
50
|
+
; JS_Init = JS_Init @2
|
51
|
+
; JS_Finish = JS_Finish @3
|
52
|
+
; JS_GetNaNValue
|
53
|
+
; JS_GetNegativeInfinityValue
|
54
|
+
; JS_GetPositiveInfinityValue
|
55
|
+
; JS_GetEmptyStringValue
|
56
|
+
; JS_ConvertValue
|
57
|
+
; JS_ValueToObject
|
58
|
+
; JS_ValueToFunction
|
59
|
+
; JS_ValueToString
|
60
|
+
; JS_ValueToNumber
|
61
|
+
; JS_ValueToBoolean
|
62
|
+
; JS_TypeOfValue
|
63
|
+
; JS_GetTypeName
|
64
|
+
; JS_Lock
|
65
|
+
; JS_Unlock
|
66
|
+
; JS_NewContext
|
67
|
+
; JS_DestroyContext
|
68
|
+
; JS_ContextIterator
|
69
|
+
; JS_GetGlobalObject
|
70
|
+
; JS_SetGlobalObject
|
71
|
+
; JS_InitStandardClasses
|
72
|
+
;; JS_GetStaticLink
|
73
|
+
; JS_malloc
|
74
|
+
; JS_realloc
|
75
|
+
; JS_free
|
76
|
+
; JS_strdup
|
77
|
+
; JS_NewDouble
|
78
|
+
; JS_NewDoubleValue
|
79
|
+
; JS_AddRoot
|
80
|
+
; JS_RemoveRoot
|
81
|
+
; JS_LockGCThing
|
82
|
+
; JS_UnlockGCThing
|
83
|
+
; JS_GC
|
84
|
+
; JS_PropertyStub
|
85
|
+
; JS_EnumerateStub
|
86
|
+
; JS_ResolveStub
|
87
|
+
; JS_ConvertStub
|
88
|
+
; JS_FinalizeStub
|
89
|
+
; JS_InitClass
|
90
|
+
; JS_GetClass
|
91
|
+
; JS_InstanceOf
|
92
|
+
; JS_GetPrivate
|
93
|
+
; JS_SetPrivate
|
94
|
+
; JS_GetInstancePrivate
|
95
|
+
; JS_GetPrototype
|
96
|
+
; JS_GetParent
|
97
|
+
; JS_SetParent
|
98
|
+
; JS_GetConstructor
|
99
|
+
; JS_NewObject
|
100
|
+
; JS_DefineObject
|
101
|
+
; JS_DefineConstDoubles
|
102
|
+
; JS_DefineProperties
|
103
|
+
; JS_DefineProperty
|
104
|
+
; JS_DefinePropertyWithTinyId
|
105
|
+
; JS_AliasProperty
|
106
|
+
; JS_LookupProperty
|
107
|
+
; JS_GetProperty
|
108
|
+
; JS_SetProperty
|
109
|
+
; JS_DeleteProperty
|
110
|
+
; JS_NewArrayObject
|
111
|
+
; JS_DefineElement
|
112
|
+
; JS_AliasElement
|
113
|
+
; JS_LookupElement
|
114
|
+
; JS_GetElement
|
115
|
+
; JS_SetElement
|
116
|
+
; JS_DeleteElement
|
117
|
+
; JS_ClearScope
|
118
|
+
; JS_NewFunction
|
119
|
+
; JS_GetFunctionObject
|
120
|
+
; JS_GetFunctionName
|
121
|
+
; JS_DefineFunctions
|
122
|
+
; JS_DefineFunction
|
123
|
+
; JS_CompileScript
|
124
|
+
; JS_DestroyScript
|
125
|
+
; JS_CompileFunction
|
126
|
+
; JS_DecompileScript
|
127
|
+
; JS_DecompileFunction
|
128
|
+
; JS_DecompileFunctionBody
|
129
|
+
; JS_ExecuteScript
|
130
|
+
; JS_EvaluateScript
|
131
|
+
; JS_CallFunction
|
132
|
+
; JS_CallFunctionName
|
133
|
+
; JS_CallFunctionValue
|
134
|
+
; JS_SetBranchCallback
|
135
|
+
; JS_IsRunning
|
136
|
+
; JS_IsConstructing
|
137
|
+
; JS_SetCallReturnValue2
|
138
|
+
; JS_NewString
|
139
|
+
; JS_NewStringCopyN
|
140
|
+
; JS_NewStringCopyZ
|
141
|
+
; JS_InternString
|
142
|
+
; JS_GetStringBytes
|
143
|
+
; JS_GetStringLength
|
144
|
+
; JS_CompareStrings
|
145
|
+
; JS_ReportError
|
146
|
+
; JS_ReportOutOfMemory
|
147
|
+
; JS_SetErrorReporter
|
148
|
+
; JS_NewRegExpObject
|
149
|
+
; JS_SetRegExpInput
|
150
|
+
; JS_ClearRegExpStatics
|
151
|
+
;=================================================
|
152
|
+
|
153
|
+
|
154
|
+
;00001:jsstr (OFFSET:0x00002e17, SIZE:0x0000ae17):
|
155
|
+
; - Public Definitions:
|
156
|
+
; js_EmptySubString
|
157
|
+
; js_CompareStrings
|
158
|
+
; js_HashString
|
159
|
+
; js_ValueToString
|
160
|
+
; js_StringToObject
|
161
|
+
; js_FinalizeString
|
162
|
+
; js_NewStringCopyZ
|
163
|
+
; js_NewString
|
164
|
+
; js_InitStringClass
|
165
|
+
; js_NewStringCopyN
|
166
|
+
; js_BoyerMooreHorspool
|
167
|
+
;
|
168
|
+
;
|
169
|
+
;00002:jsscript (OFFSET:0x0000dc2e, SIZE:0x00003abb):
|
170
|
+
; - Public Definitions:
|
171
|
+
; js_LineNumberToPC
|
172
|
+
; js_PCToLineNumber
|
173
|
+
; js_GetSrcNote
|
174
|
+
; js_DestroyScript
|
175
|
+
; js_NewScript
|
176
|
+
;
|
177
|
+
;
|
178
|
+
;00003:jsscope (OFFSET:0x000116e9, SIZE:0x00004f82):
|
179
|
+
; - Public Definitions:
|
180
|
+
; js_hash_scope_ops
|
181
|
+
; js_list_scope_ops
|
182
|
+
; js_DestroyProperty
|
183
|
+
; js_NewProperty
|
184
|
+
; js_IdToValue
|
185
|
+
; js_HashValue
|
186
|
+
; js_DestroyScope
|
187
|
+
; js_MutateScope
|
188
|
+
; js_DropScope
|
189
|
+
; js_HoldScope
|
190
|
+
; js_NewScope
|
191
|
+
; js_GetMutableScope
|
192
|
+
; js_HoldProperty
|
193
|
+
; js_DropProperty
|
194
|
+
;
|
195
|
+
;
|
196
|
+
;00004:jsscan (OFFSET:0x0001666b, SIZE:0x00008890):
|
197
|
+
; - Public Definitions:
|
198
|
+
; js_MatchToken
|
199
|
+
; js_FlushNewlines
|
200
|
+
; js_PeekTokenSameLine
|
201
|
+
; js_UngetToken
|
202
|
+
; js_GetToken
|
203
|
+
; js_PeekToken
|
204
|
+
; js_ReportCompileError
|
205
|
+
js_CloseTokenStream
|
206
|
+
js_NewBufferTokenStream
|
207
|
+
; js_NewTokenStream
|
208
|
+
; js_InitScanner
|
209
|
+
;
|
210
|
+
;
|
211
|
+
;00005:jsregexp (OFFSET:0x0001eefb, SIZE:0x0000eee4):
|
212
|
+
; - Public Definitions:
|
213
|
+
; js_RegExpClass
|
214
|
+
; reopsize
|
215
|
+
; js_NewRegExpObject
|
216
|
+
; js_InitRegExpClass
|
217
|
+
; js_FreeRegExpStatics
|
218
|
+
; js_InitRegExpStatics
|
219
|
+
; js_ExecuteRegExp
|
220
|
+
; js_NewRegExpOpt
|
221
|
+
; js_DestroyRegExp
|
222
|
+
; js_NewRegExp
|
223
|
+
;
|
224
|
+
;
|
225
|
+
;00006:jsparse (OFFSET:0x0002dddf, SIZE:0x00010b71):
|
226
|
+
; - Public Definitions:
|
227
|
+
; js_ParseFunctionBody
|
228
|
+
js_Parse
|
229
|
+
;
|
230
|
+
;
|
231
|
+
;00007:jsopcode (OFFSET:0x0003e950, SIZE:0x0000d362):
|
232
|
+
; - Public Definitions:
|
233
|
+
; js_EscapeMap
|
234
|
+
; js_NumCodeSpecs
|
235
|
+
; js_CodeSpec
|
236
|
+
; js_incop_str
|
237
|
+
; js_true_str
|
238
|
+
; js_false_str
|
239
|
+
; js_this_str
|
240
|
+
; js_null_str
|
241
|
+
; js_void_str
|
242
|
+
; js_typeof_str
|
243
|
+
; js_delete_str
|
244
|
+
; js_new_str
|
245
|
+
; js_ValueToSource
|
246
|
+
; js_DecompileScript
|
247
|
+
; js_DecompileCode
|
248
|
+
; js_DecompileFunction
|
249
|
+
; js_puts
|
250
|
+
; js_printf
|
251
|
+
; js_GetPrinterOutput
|
252
|
+
; js_DestroyPrinter
|
253
|
+
; js_NewPrinter
|
254
|
+
; js_EscapeString
|
255
|
+
; js_Disassemble1
|
256
|
+
; js_Disassemble
|
257
|
+
;
|
258
|
+
;00008:jsobj (OFFSET:0x0004bcb2, SIZE:0x000090a4):
|
259
|
+
; - Public Definitions:
|
260
|
+
; js_WithClass
|
261
|
+
; js_ObjectClass
|
262
|
+
; js_TryValueOf
|
263
|
+
; js_ValueToNonNullObject
|
264
|
+
; js_TryMethod
|
265
|
+
; js_ObjectToString
|
266
|
+
; js_SetClassPrototype
|
267
|
+
; js_DeleteProperty2
|
268
|
+
; js_DeleteProperty
|
269
|
+
; js_SetProperty
|
270
|
+
; js_GetProperty
|
271
|
+
; js_FindVariableScope
|
272
|
+
; js_FindVariable
|
273
|
+
; js_FindProperty
|
274
|
+
; js_LookupProperty
|
275
|
+
; js_DefineProperty
|
276
|
+
; js_FreeSlot
|
277
|
+
; js_AllocSlot
|
278
|
+
; js_FinalizeObject
|
279
|
+
; js_GetClassPrototype
|
280
|
+
; js_NewObject
|
281
|
+
; js_InitObjectClass
|
282
|
+
; js_ValueToObject
|
283
|
+
; js_obj_toString
|
284
|
+
; js_SetSlot
|
285
|
+
; js_GetSlot
|
286
|
+
;
|
287
|
+
;
|
288
|
+
;00009:jsnum (OFFSET:0x00054d56, SIZE:0x00004f29):
|
289
|
+
; - Public Definitions:
|
290
|
+
; js_ValueToInt32
|
291
|
+
; js_NumberToObject
|
292
|
+
; js_FinalizeDouble
|
293
|
+
; js_InitNumberClass
|
294
|
+
; js_NumberToString
|
295
|
+
; js_NewDoubleValue
|
296
|
+
; js_NewDouble
|
297
|
+
; js_ValueToNumber
|
298
|
+
;
|
299
|
+
;
|
300
|
+
;00010:jsmath (OFFSET:0x00059c7f, SIZE:0x000054b6):
|
301
|
+
; - Public Definitions:
|
302
|
+
; js_InitMathClass
|
303
|
+
;
|
304
|
+
;
|
305
|
+
;00011:jsjava (OFFSET:0x0005f135, SIZE:0x00022aad):
|
306
|
+
; - Public Definitions:
|
307
|
+
; js_Hooks
|
308
|
+
; MojaSrcLog
|
309
|
+
; finalizeTask
|
310
|
+
JSJ_FindCurrentJSContext
|
311
|
+
; JSJ_GetPrincipals
|
312
|
+
JSJ_IsSafeMethod
|
313
|
+
JSJ_InitContext
|
314
|
+
JSJ_Init
|
315
|
+
js_JSErrorToJException
|
316
|
+
js_JavaErrorReporter
|
317
|
+
js_RemoveReflection
|
318
|
+
js_ReflectJObjectToJSObject
|
319
|
+
js_convertJObjectToJSValue
|
320
|
+
js_convertJSValueToJObject
|
321
|
+
js_ReflectJSObjectToJObject
|
322
|
+
; js_ReflectJClassToJSObject
|
323
|
+
JSJ_ExitJS
|
324
|
+
JSJ_EnterJS
|
325
|
+
JSJ_CurrentContext
|
326
|
+
JSJ_IsEnabled
|
327
|
+
;added in GA code - DSR70297
|
328
|
+
JSJ_Finish
|
329
|
+
JSJ_IsCalledFromJava
|
330
|
+
js_GetJSPrincipalsFromJavaCaller
|
331
|
+
|
332
|
+
;
|
333
|
+
;
|
334
|
+
;00012:jsinterp (OFFSET:0x00081be2, SIZE:0x00012274):
|
335
|
+
; - Public Definitions:
|
336
|
+
; js_Call
|
337
|
+
; js_Interpret
|
338
|
+
; js_SetLocalVariable
|
339
|
+
; js_GetLocalVariable
|
340
|
+
; js_SetArgument
|
341
|
+
; js_GetArgument
|
342
|
+
; js_FlushPropertyCacheByProp
|
343
|
+
; js_FlushPropertyCache
|
344
|
+
;
|
345
|
+
;
|
346
|
+
;00013:jsgc (OFFSET:0x00093e56, SIZE:0x00004f8d):
|
347
|
+
; - Public Definitions:
|
348
|
+
; js_ForceGC
|
349
|
+
; js_UnlockGCThing
|
350
|
+
; js_LockGCThing
|
351
|
+
; js_GC
|
352
|
+
; js_AllocGCThing
|
353
|
+
; js_RemoveRoot
|
354
|
+
; js_AddRoot
|
355
|
+
; js_FinishGC
|
356
|
+
; js_InitGC
|
357
|
+
;
|
358
|
+
;
|
359
|
+
;00014:jsfun (OFFSET:0x00098de3, SIZE:0x0000977c):
|
360
|
+
; - Public Definitions:
|
361
|
+
; js_FunctionClass
|
362
|
+
; js_ClosureClass
|
363
|
+
; js_CallClass
|
364
|
+
; js_DefineFunction
|
365
|
+
; js_NewFunction
|
366
|
+
; js_InitCallAndClosureClasses
|
367
|
+
; js_InitFunctionClass
|
368
|
+
; js_ValueToFunction
|
369
|
+
; js_SetCallVariable
|
370
|
+
; js_GetCallVariable
|
371
|
+
; js_PutCallObject
|
372
|
+
; js_GetCallObject
|
373
|
+
;
|
374
|
+
;
|
375
|
+
;00015:jsemit (OFFSET:0x000a255f, SIZE:0x000077be):
|
376
|
+
; - Public Definitions:
|
377
|
+
; js_SrcNoteName
|
378
|
+
; js_SrcNoteArity
|
379
|
+
js_FinishTakingSrcNotes
|
380
|
+
; js_MoveSrcNotes
|
381
|
+
; js_GetSrcNoteOffset
|
382
|
+
; js_BumpSrcNoteDelta
|
383
|
+
; js_NewSrcNote3
|
384
|
+
; js_NewSrcNote2
|
385
|
+
; js_PopStatement
|
386
|
+
; js_EmitContinue
|
387
|
+
; js_EmitBreak
|
388
|
+
; js_SetSrcNoteOffset
|
389
|
+
; js_NewSrcNote
|
390
|
+
; js_PushStatement
|
391
|
+
; js_MoveCode
|
392
|
+
; js_SetJumpOffset
|
393
|
+
; js_Emit3
|
394
|
+
; js_Emit2
|
395
|
+
; js_Emit1
|
396
|
+
; js_UpdateDepth
|
397
|
+
; js_SrcNoteLength
|
398
|
+
; js_CancelLastOpcode
|
399
|
+
js_InitCodeGenerator
|
400
|
+
;
|
401
|
+
;
|
402
|
+
;00016:jsdbgapi (OFFSET:0x000a9d1d, SIZE:0x000057db):
|
403
|
+
; - Public Definitions:
|
404
|
+
; js_watchpoint_list
|
405
|
+
; js_trap_list
|
406
|
+
; JS_SetAnnotationInFrame
|
407
|
+
; JS_GetAnnotationFromFrame
|
408
|
+
; JS_GetJSPrincipalArrayFromFrame
|
409
|
+
; JS_NextJSFrame
|
410
|
+
; JS_InitJSFrameIterator
|
411
|
+
JS_LineNumberToPC
|
412
|
+
JS_PCToLineNumber
|
413
|
+
JS_ClearAllWatchPoints
|
414
|
+
JS_ClearWatchPoint
|
415
|
+
JS_SetWatchPoint
|
416
|
+
JS_HandleTrap
|
417
|
+
JS_ClearAllTraps
|
418
|
+
JS_ClearScriptTraps
|
419
|
+
JS_ClearTrap
|
420
|
+
JS_GetTrapOpcode
|
421
|
+
JS_SetTrap
|
422
|
+
;DSR070297 - added in GA code
|
423
|
+
JS_FrameIterator
|
424
|
+
JS_GetFrameAnnotation
|
425
|
+
JS_GetFramePrincipalArray
|
426
|
+
JS_GetFrameScript
|
427
|
+
JS_GetScriptFilename
|
428
|
+
JS_SetFrameAnnotation
|
429
|
+
JS_GetFramePC
|
430
|
+
JS_GetFunctionScript
|
431
|
+
|
432
|
+
;
|
433
|
+
;
|
434
|
+
;00017:jsdate (OFFSET:0x000af4f8, SIZE:0x00009a8e):
|
435
|
+
; - Public Definitions:
|
436
|
+
js_DateGetSeconds
|
437
|
+
js_DateGetMinutes
|
438
|
+
js_DateGetHours
|
439
|
+
js_DateGetDate
|
440
|
+
js_DateGetMonth
|
441
|
+
js_DateGetYear
|
442
|
+
js_NewDateObject
|
443
|
+
; js_InitDateClass
|
444
|
+
;
|
445
|
+
;
|
446
|
+
;00018:jscntxt (OFFSET:0x000b8f86, SIZE:0x00003732):
|
447
|
+
; - Public Definitions:
|
448
|
+
; js_InterpreterHooks
|
449
|
+
; js_ReportIsNotDefined
|
450
|
+
; js_ReportErrorAgain
|
451
|
+
; js_ReportErrorVA
|
452
|
+
; js_ContextIterator
|
453
|
+
; js_DestroyContext
|
454
|
+
; js_NewContext
|
455
|
+
; js_SetInterpreterHooks
|
456
|
+
;
|
457
|
+
;
|
458
|
+
;00019:jsbool (OFFSET:0x000bc6b8, SIZE:0x00003375):
|
459
|
+
; - Public Definitions:
|
460
|
+
; js_BooleanToString
|
461
|
+
; js_BooleanToObject
|
462
|
+
; js_InitBooleanClass
|
463
|
+
; js_ValueToBoolean
|
464
|
+
;
|
465
|
+
;
|
466
|
+
;00020:jsatom (OFFSET:0x000bfa2d, SIZE:0x000058d0):
|
467
|
+
; - Public Definitions:
|
468
|
+
; js_valueOf_str
|
469
|
+
; js_toString_str
|
470
|
+
; js_length_str
|
471
|
+
; js_eval_str
|
472
|
+
; js_constructor_str
|
473
|
+
; js_class_prototype_str
|
474
|
+
; js_assign_str
|
475
|
+
; js_anonymous_str
|
476
|
+
; js_Object_str
|
477
|
+
; js_Array_str
|
478
|
+
; js_type_str
|
479
|
+
; js_DropUnmappedAtoms
|
480
|
+
js_FreeAtomMap
|
481
|
+
js_InitAtomMap
|
482
|
+
; js_GetAtom
|
483
|
+
; js_DropAtom
|
484
|
+
; js_IndexAtom
|
485
|
+
; js_ValueToStringAtom
|
486
|
+
; js_AtomizeString
|
487
|
+
; js_AtomizeDouble
|
488
|
+
; js_AtomizeInt
|
489
|
+
; js_AtomizeBoolean
|
490
|
+
; js_AtomizeObject
|
491
|
+
; js_HoldAtom
|
492
|
+
; js_MarkAtomState
|
493
|
+
; js_FreeAtomState
|
494
|
+
; js_Atomize
|
495
|
+
; js_InitAtomState
|
496
|
+
;
|
497
|
+
;
|
498
|
+
;00021:jsarray (OFFSET:0x000c52fd, SIZE:0x00007c86):
|
499
|
+
; - Public Definitions:
|
500
|
+
; js_ArrayClass
|
501
|
+
; js_SetArrayLength
|
502
|
+
; js_GetArrayLength
|
503
|
+
; js_InitArrayClass
|
504
|
+
; js_NewArrayObject
|
505
|
+
; PR_qsort
|
506
|
+
;
|
507
|
+
;
|
508
|
+
;00022:jsapi (OFFSET:0x000ccf83, SIZE:0x0000de8c):
|
509
|
+
; - Public Definitions:
|
510
|
+
JS_ClearRegExpStatics
|
511
|
+
JS_SetRegExpInput
|
512
|
+
JS_NewRegExpObject
|
513
|
+
JS_SetErrorReporter
|
514
|
+
JS_CompareStrings
|
515
|
+
JS_GetStringLength
|
516
|
+
JS_GetStringBytes
|
517
|
+
JS_InternString
|
518
|
+
JS_NewStringCopyZ
|
519
|
+
JS_NewStringCopyN
|
520
|
+
JS_NewString
|
521
|
+
JS_IsRunning
|
522
|
+
JS_SetBranchCallback
|
523
|
+
JS_CallFunctionValue
|
524
|
+
JS_CallFunctionName
|
525
|
+
JS_CallFunction
|
526
|
+
JS_EvaluateScriptForPrincipals
|
527
|
+
JS_EvaluateScript
|
528
|
+
JS_ExecuteScript
|
529
|
+
JS_DecompileFunctionBody
|
530
|
+
JS_DecompileFunction
|
531
|
+
JS_DecompileScript
|
532
|
+
JS_CompileFunctionForPrincipals
|
533
|
+
JS_CompileFunction
|
534
|
+
JS_DestroyScript
|
535
|
+
JS_CompileScriptForPrincipals
|
536
|
+
JS_CompileScript
|
537
|
+
JS_DefineFunction
|
538
|
+
JS_GetFunctionName
|
539
|
+
JS_GetFunctionObject
|
540
|
+
JS_NewFunction
|
541
|
+
JS_ClearScope
|
542
|
+
JS_DeleteElement
|
543
|
+
JS_SetElement
|
544
|
+
JS_GetElement
|
545
|
+
JS_LookupElement
|
546
|
+
JS_AliasElement
|
547
|
+
JS_DefineElement
|
548
|
+
JS_SetArrayLength
|
549
|
+
JS_GetArrayLength
|
550
|
+
JS_NewArrayObject
|
551
|
+
JS_DeleteProperty
|
552
|
+
JS_SetProperty
|
553
|
+
JS_GetProperty
|
554
|
+
JS_LookupProperty
|
555
|
+
JS_AliasProperty
|
556
|
+
JS_DefinePropertyWithTinyId
|
557
|
+
JS_DefineProperty
|
558
|
+
JS_DefineConstDoubles
|
559
|
+
JS_DefineObject
|
560
|
+
JS_NewObject
|
561
|
+
JS_GetConstructor
|
562
|
+
JS_SetParent
|
563
|
+
JS_GetParent
|
564
|
+
JS_SetPrototype
|
565
|
+
JS_GetPrototype
|
566
|
+
JS_GetInstancePrivate
|
567
|
+
JS_SetPrivate
|
568
|
+
JS_GetPrivate
|
569
|
+
JS_InstanceOf
|
570
|
+
JS_GetClass
|
571
|
+
JS_DefineFunctions
|
572
|
+
JS_DefineProperties
|
573
|
+
JS_InitClass
|
574
|
+
JS_FinalizeStub
|
575
|
+
JS_ConvertStub
|
576
|
+
JS_ResolveStub
|
577
|
+
JS_EnumerateStub
|
578
|
+
JS_PropertyStub
|
579
|
+
JS_GC
|
580
|
+
JS_UnlockGCThing
|
581
|
+
JS_LockGCThing
|
582
|
+
JS_RemoveRoot
|
583
|
+
JS_AddRoot
|
584
|
+
JS_NewDoubleValue
|
585
|
+
JS_NewDouble
|
586
|
+
JS_strdup
|
587
|
+
JS_free
|
588
|
+
JS_realloc
|
589
|
+
JS_ReportOutOfMemory
|
590
|
+
JS_malloc
|
591
|
+
JS_GetScopeChain
|
592
|
+
JS_InitStandardClasses
|
593
|
+
JS_SetGlobalObject
|
594
|
+
JS_GetGlobalObject
|
595
|
+
JS_SetVersion
|
596
|
+
JS_GetVersion
|
597
|
+
JS_ContextIterator
|
598
|
+
JS_GetTaskState
|
599
|
+
JS_DestroyContext
|
600
|
+
JS_NewContext
|
601
|
+
JS_Unlock
|
602
|
+
JS_Lock
|
603
|
+
JS_Finish
|
604
|
+
JS_Init
|
605
|
+
JS_GetTypeName
|
606
|
+
JS_TypeOfValue
|
607
|
+
JS_ValueToBoolean
|
608
|
+
JS_ValueToInt32
|
609
|
+
JS_ValueToNumber
|
610
|
+
JS_ValueToString
|
611
|
+
JS_ValueToFunction
|
612
|
+
JS_ValueToObject
|
613
|
+
JS_ReportError
|
614
|
+
JS_ConvertValue
|
615
|
+
JS_GetEmptyStringValue
|
616
|
+
JS_GetPositiveInfinityValue
|
617
|
+
JS_GetNegativeInfinityValue
|
618
|
+
JS_GetNaNValue
|
619
|
+
;DSR062897 - added for GA code
|
620
|
+
JS_MaybeGC
|
621
|
+
JS_GetScriptPrincipals
|
622
|
+
JS_IsAssigning
|
623
|
+
JS_SetCharSetInfo
|
624
|
+
;brendan@mozilla.org, 2-Sept-2000
|
625
|
+
JS_SetCallReturnValue2
|
626
|
+
JS_SetGCCallback
|
627
|
+
JS_SetGCCallbackRT
|
628
|
+
JS_AddExternalStringFinalizer
|
629
|
+
JS_RemoveExternalStringFinalizer
|
630
|
+
JS_NewExternalString
|
631
|
+
;
|
632
|
+
;
|
633
|
+
;00023:prmjtime (OFFSET:0x000dae0f, SIZE:0x00008986):
|
634
|
+
; - Public Definitions:
|
635
|
+
PRMJ_FormatTimeUSEnglish
|
636
|
+
PRMJ_gmtime
|
637
|
+
PRMJ_FormatTime
|
638
|
+
PRMJ_mktime
|
639
|
+
PRMJ_ComputeTime
|
640
|
+
PRMJ_localtime
|
641
|
+
PRMJ_ExplodeTime
|
642
|
+
PRMJ_ToLocal
|
643
|
+
PRMJ_ToGMT
|
644
|
+
PRMJ_NowLocal
|
645
|
+
PRMJ_DSTOffset
|
646
|
+
PRMJ_NowS
|
647
|
+
PRMJ_NowMS
|
648
|
+
PRMJ_Now
|
649
|
+
PRMJ_ToExtendedTime
|
650
|
+
PRMJ_ToBaseTime
|
651
|
+
PRMJ_setDST
|
652
|
+
PRMJ_LocalGMTDifference
|
653
|
+
|
654
|
+
|