1 ; ***** BEGIN LICENSE BLOCK
*****
2 ; Version
: MPL
1.1/GPL
2.0/LGPL
2.1
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
/
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
14 ; The Original Code is Mozilla Communicator client code
, released
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.
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.
36 ; ***** END LICENSE BLOCK
*****
38 LIBRARY JS3240 INITINSTANCE TERMINSTANCE
41 DESCRIPTION
'Netscape OS/2 JavaScript Library'
44 CODE LOADONCALL MOVEABLE DISCARDABLE
45 DATA PRELOAD MOVEABLE MULTIPLE NONSHARED
49 ;====================== win16 exports these at least...
===========
50 ; JS_Init
= JS_Init @
2
51 ; JS_Finish
= JS_Finish @
3
53 ; JS_GetNegativeInfinityValue
54 ; JS_GetPositiveInfinityValue
55 ; JS_GetEmptyStringValue
71 ; JS_InitStandardClasses
94 ; JS_GetInstancePrivate
101 ; JS_DefineConstDoubles
102 ; JS_DefineProperties
104 ; JS_DefinePropertyWithTinyId
119 ; JS_GetFunctionObject
127 ; JS_DecompileFunction
128 ; JS_DecompileFunctionBody
132 ; JS_CallFunctionName
133 ; JS_CallFunctionValue
134 ; JS_SetBranchCallback
137 ; JS_SetCallReturnValue2
146 ; JS_ReportOutOfMemory
147 ; JS_SetErrorReporter
150 ; JS_ClearRegExpStatics
151 ;=================================================
154 ;00001:jsstr (OFFSET
:0x00002e17, SIZE:0x0000ae17):
155 ; - Public Definitions
:
166 ; js_BoyerMooreHorspool
169 ;00002:jsscript (OFFSET
:0x0000dc2e, SIZE:0x00003abb):
170 ; - Public Definitions
:
178 ;00003:jsscope (OFFSET
:0x000116e9, SIZE:0x00004f82):
179 ; - Public Definitions
:
196 ;00004:jsscan (OFFSET
:0x0001666b, SIZE:0x00008890):
197 ; - Public Definitions
:
200 ; js_PeekTokenSameLine
204 ; js_ReportCompileError
206 js_NewBufferTokenStream
211 ;00005:jsregexp (OFFSET
:0x0001eefb, SIZE:0x0000eee4):
212 ; - Public Definitions
:
217 ; js_FreeRegExpStatics
218 ; js_InitRegExpStatics
225 ;00006:jsparse (OFFSET
:0x0002dddf, SIZE:0x00010b71):
226 ; - Public Definitions
:
227 ; js_ParseFunctionBody
231 ;00007:jsopcode (OFFSET
:0x0003e950, SIZE:0x0000d362):
232 ; - Public Definitions
:
248 ; js_DecompileFunction
251 ; js_GetPrinterOutput
258 ;00008:jsobj (OFFSET
:0x0004bcb2, SIZE:0x000090a4):
259 ; - Public Definitions
:
263 ; js_ValueToNonNullObject
266 ; js_SetClassPrototype
271 ; js_FindVariableScope
279 ; js_GetClassPrototype
288 ;00009:jsnum (OFFSET
:0x00054d56, SIZE:0x00004f29):
289 ; - Public Definitions
:
300 ;00010:jsmath (OFFSET
:0x00059c7f, SIZE:0x000054b6):
301 ; - Public Definitions
:
305 ;00011:jsjava (OFFSET
:0x0005f135, SIZE:0x00022aad):
306 ; - Public Definitions
:
310 JSJ_FindCurrentJSContext
315 js_JSErrorToJException
318 js_ReflectJObjectToJSObject
319 js_convertJObjectToJSValue
320 js_convertJSValueToJObject
321 js_ReflectJSObjectToJObject
322 ; js_ReflectJClassToJSObject
327 ;added in GA code
- DSR70297
330 js_GetJSPrincipalsFromJavaCaller
334 ;00012:jsinterp (OFFSET
:0x00081be2, SIZE:0x00012274):
335 ; - Public Definitions
:
338 ; js_SetLocalVariable
339 ; js_GetLocalVariable
342 ; js_FlushPropertyCacheByProp
343 ; js_FlushPropertyCache
346 ;00013:jsgc (OFFSET
:0x00093e56, SIZE:0x00004f8d):
347 ; - Public Definitions
:
359 ;00014:jsfun (OFFSET
:0x00098de3, SIZE:0x0000977c):
360 ; - Public Definitions
:
366 ; js_InitCallAndClosureClasses
367 ; js_InitFunctionClass
375 ;00015:jsemit (OFFSET
:0x000a255f, SIZE:0x000077be):
376 ; - Public Definitions
:
379 js_FinishTakingSrcNotes
381 ; js_GetSrcNoteOffset
382 ; js_BumpSrcNoteDelta
388 ; js_SetSrcNoteOffset
398 ; js_CancelLastOpcode
402 ;00016:jsdbgapi (OFFSET
:0x000a9d1d, SIZE:0x000057db):
403 ; - Public Definitions
:
406 ; JS_SetAnnotationInFrame
407 ; JS_GetAnnotationFromFrame
408 ; JS_GetJSPrincipalArrayFromFrame
410 ; JS_InitJSFrameIterator
413 JS_ClearAllWatchPoints
422 ;DSR070297
- added in GA code
424 JS_GetFrameAnnotation
425 JS_GetFramePrincipalArray
428 JS_SetFrameAnnotation
434 ;00017:jsdate (OFFSET
:0x000af4f8, SIZE:0x00009a8e):
435 ; - Public Definitions
:
446 ;00018:jscntxt (OFFSET
:0x000b8f86, SIZE:0x00003732):
447 ; - Public Definitions
:
448 ; js_InterpreterHooks
449 ; js_ReportIsNotDefined
450 ; js_ReportErrorAgain
455 ; js_SetInterpreterHooks
458 ;00019:jsbool (OFFSET
:0x000bc6b8, SIZE:0x00003375):
459 ; - Public Definitions
:
462 ; js_InitBooleanClass
466 ;00020:jsatom (OFFSET
:0x000bfa2d, SIZE:0x000058d0):
467 ; - Public Definitions
:
473 ; js_class_prototype_str
479 ; js_DropUnmappedAtoms
485 ; js_ValueToStringAtom
498 ;00021:jsarray (OFFSET
:0x000c52fd, SIZE:0x00007c86):
499 ; - Public Definitions
:
508 ;00022:jsapi (OFFSET
:0x000ccf83, SIZE:0x0000de8c):
509 ; - Public Definitions
:
510 JS_ClearRegExpStatics
526 JS_EvaluateScriptForPrincipals
529 JS_DecompileFunctionBody
532 JS_CompileFunctionForPrincipals
535 JS_CompileScriptForPrincipals
556 JS_DefinePropertyWithTinyId
558 JS_DefineConstDoubles
566 JS_GetInstancePrivate
592 JS_InitStandardClasses
615 JS_GetEmptyStringValue
616 JS_GetPositiveInfinityValue
617 JS_GetNegativeInfinityValue
619 ;DSR062897
- added for GA code
621 JS_GetScriptPrincipals
624 ;brendan@mozilla.org
, 2-Sept
-2000
625 JS_SetCallReturnValue2
628 JS_AddExternalStringFinalizer
629 JS_RemoveExternalStringFinalizer
633 ;00023:prmjtime (OFFSET
:0x000dae0f, SIZE:0x00008986):
634 ; - Public Definitions
:
635 PRMJ_FormatTimeUSEnglish
652 PRMJ_LocalGMTDifference