comctl32/tests: Use BOOL type where appropriate.
[wine.git] / dlls / jscript / jsglobal.idl
blobac295684f50993624ec2d77a4459e1b647531be4
1 /*
2 * Copyright 2008 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #pragma makedep typelib
21 #include "jsglobal_dispid.h"
23 import "oaidl.idl";
26 uuid(3eef9759-35fc-11d1-8ce4-00c04fc2b085),
27 version(1.0),
29 library JSGlobal
31 importlib("stdole2.tlb");
33 interface StringInstance;
36 uuid(3eef9758-35fc-11d1-8ce4-00C04fc2b086)
38 dispinterface GlobalObj {
39 properties:
40 [id(DISPID_GLOBAL_NAN), readonly]
41 VARIANT NaN;
43 [id(DISPID_GLOBAL_INFINITY), readonly]
44 VARIANT Infinity;
46 methods:
47 [id(DISPID_GLOBAL_ARRAY)]
48 VARIANT Array();
50 [id(DISPID_GLOBAL_BOOLEAN)]
51 VARIANT Boolean();
53 [id(DISPID_GLOBAL_DATE)]
54 VARIANT Date();
56 [id(DISPID_GLOBAL_FUNCTION)]
57 VARIANT Function();
59 [id(DISPID_GLOBAL_NUMBER)]
60 VARIANT Number();
62 [id(DISPID_GLOBAL_OBJECT)]
63 VARIANT Object();
65 [id(DISPID_GLOBAL_STRING)]
66 VARIANT String();
68 [id(DISPID_GLOBAL_REGEXP)]
69 VARIANT RegExp();
71 [id(DISPID_GLOBAL_ACTIVEXOBJ)]
72 VARIANT ActiveXObject();
74 [id(DISPID_GLOBAL_VBARRAY)]
75 VARIANT VBArray();
77 [id(DISPID_GLOBAL_ENUMERATOR)]
78 VARIANT Enumerator();
80 [id(DISPID_GLOBAL_ESCAPE)]
81 VARIANT escape(VARIANT String);
83 [id(DISPID_GLOBAL_EVAL)]
84 VARIANT eval(VARIANT x);
86 [id(DISPID_GLOBAL_ISNAN)]
87 VARIANT isNaN(VARIANT Number);
89 [id(DISPID_GLOBAL_ISFINITE)]
90 VARIANT isFinite(VARIANT Number);
92 [id(DISPID_GLOBAL_PARSEINT)]
93 VARIANT parseInt(
94 VARIANT String,
95 VARIANT radix);
97 [id(DISPID_GLOBAL_PARSEFLOAT)]
98 VARIANT parseFloat(VARIANT String);
100 [id(DISPID_GLOBAL_UNESCAPE)]
101 VARIANT unescape(VARIANT String);
103 [id(DISPID_GLOBAL_GETOBJECT)]
104 VARIANT GetObject(
105 [optional] VARIANT path,
106 [optional] VARIANT classname);
108 [id(DISPID_GLOBAL_SCRIPTENGINE)]
109 VARIANT ScriptEngine();
111 [id(DISPID_GLOBAL_MAJORVER)]
112 VARIANT ScriptEngineMajorVersion();
114 [id(DISPID_GLOBAL_MINORVER)]
115 VARIANT ScriptEngineMinorVersion();
117 [id(DISPID_GLOBAL_BUILDVER)]
118 VARIANT ScriptEngineBuildVersion();
120 [id(DISPID_GLOBAL_COLLECT)]
121 VARIANT CollectGarbage();
123 [id(DISPID_GLOBAL_MATH)]
124 VARIANT Math();
128 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b087)
130 dispinterface DateObj {
131 properties:
132 methods:
133 [id(DISPID_DATEOBJ_PARSE)]
134 VARIANT parse(VARIANT String);
136 [id(DISPID_DATEOBJ_UTC)]
137 VARIANT UTC(
138 VARIANT year,
139 [optional] VARIANT month,
140 [optional] VARIANT Date,
141 [optional] VARIANT hours,
142 [optional] VARIANT minutes,
143 [optional] VARIANT seconds,
144 [optional] VARIANT ms);
148 uuid(3eef9758-35fc-11d1-8ce4-00C04fc2b088)
150 dispinterface MathObj {
151 properties:
152 [id(DISPID_MATHOBJ_E), readonly]
153 VARIANT E;
155 [id(DISPID_MATHOBJ_LOG2E), readonly]
156 VARIANT LOG2E;
158 [id(DISPID_MATHOBJ_LOG10E), readonly]
159 VARIANT LOG10E;
161 [id(DISPID_MATHOBJ_LN2), readonly]
162 VARIANT LN2;
164 [id(DISPID_MATHOBJ_LN10), readonly]
165 VARIANT LN10;
167 [id(DISPID_MATHOBJ_PI), readonly]
168 VARIANT PI;
170 [id(DISPID_MATHOBJ_SQRT2), readonly]
171 VARIANT SQRT2;
173 [id(DISPID_MATHOBJ_SQRT1_2), readonly]
174 VARIANT SQRT1_2;
176 methods:
177 [id(DISPID_MATHOBJ_ABS)]
178 VARIANT abs(VARIANT x);
180 [id(DISPID_MATHOBJ_ACOS)]
181 VARIANT acos(VARIANT x);
183 [id(DISPID_MATHOBJ_ASIN)]
184 VARIANT asin(VARIANT x);
186 [id(DISPID_MATHOBJ_ATAN)]
187 VARIANT atan(VARIANT x);
189 [id(DISPID_MATHOBJ_ATAN2)]
190 VARIANT atan2(VARIANT x, VARIANT y);
192 [id(DISPID_MATHOBJ_CEIL)]
193 VARIANT ceil(VARIANT x);
195 [id(DISPID_MATHOBJ_COS)]
196 VARIANT cos(VARIANT x);
198 [id(DISPID_MATHOBJ_EXP)]
199 VARIANT exp(VARIANT x);
201 [id(DISPID_MATHOBJ_FLOOR)]
202 VARIANT floor(VARIANT x);
204 [id(DISPID_MATHOBJ_LOG)]
205 VARIANT log(VARIANT x);
207 [id(DISPID_MATHOBJ_MAX)]
208 VARIANT max(VARIANT x, VARIANT y);
210 [id(DISPID_MATHOBJ_MIN)]
211 VARIANT min(VARIANT x, VARIANT y);
213 [id(DISPID_MATHOBJ_POW)]
214 VARIANT pow(VARIANT x, VARIANT y);
216 [id(DISPID_MATHOBJ_RANDOM)]
217 VARIANT random();
219 [id(DISPID_MATHOBJ_ROUND)]
220 VARIANT round(VARIANT x);
222 [id(DISPID_MATHOBJ_SIN)]
223 VARIANT sin(VARIANT x);
225 [id(DISPID_MATHOBJ_SQRT)]
226 VARIANT sqrt(VARIANT x);
228 [id(DISPID_MATHOBJ_TAN)]
229 VARIANT tan(VARIANT x);
233 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b089)
235 dispinterface NumberObj {
236 properties:
237 [id(DISPID_NUMBEROBJ_MAX_VALUE), readonly]
238 VARIANT MAX_VALUE;
240 [id(DISPID_NUMBEROBJ_MIN_VALUE), readonly]
241 VARIANT MIN_VALUE;
243 [id(DISPID_NUMBEROBJ_NAN), readonly]
244 VARIANT NaN;
246 [id(DISPID_NUMBEROBJ_NEGATIVE_INFINITY), readonly]
247 VARIANT NEGATIVE_INFINITY;
249 [id(DISPID_NUMBEROBJ_POSITIVE_INFINITY), readonly]
250 VARIANT POSITIVE_INFINITY;
252 methods:
256 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b090)
258 dispinterface RegExpObj {
259 properties:
260 [id(DISPID_REGEXPOBJ_INDEX), readonly]
261 VARIANT index;
263 [id(DISPID_REGEXPOBJ_INPUT), readonly]
264 VARIANT input;
266 [id(DISPID_REGEXPOBJ_LASTINDEX), readonly]
267 VARIANT lastIndex;
269 methods:
273 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b091)
275 dispinterface StringObj {
276 properties:
277 methods:
278 [id(DISPID_STRINGOBJ_FROMCHARCODE)]
279 VARIANT fromCharCode(VARIANT char0);
283 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b092)
285 dispinterface ArrayInstance {
286 properties:
287 [id(DISPID_ARRAY_LENGTH)]
288 VARIANT length;
290 methods:
291 [id(DISPID_ARRAY_CONCAT)]
292 ArrayInstance *concat(VARIANT Array);
294 [id(DISPID_ARRAY_JOIN)]
295 StringInstance *join(VARIANT separator);
297 [id(DISPID_ARRAY_POP)]
298 VARIANT pop();
300 [id(DISPID_ARRAY_PUSH)]
301 VARIANT push(VARIANT value);
303 [id(DISPID_ARRAY_REVERSE)]
304 ArrayInstance *reverse();
306 [id(DISPID_ARRAY_SHIFT)]
307 VARIANT shift();
309 [id(DISPID_ARRAY_SLICE)]
310 ArrayInstance *slice(
311 VARIANT start,
312 VARIANT end);
314 [id(DISPID_ARRAY_SORT)]
315 ArrayInstance *sort(VARIANT sortfunction);
317 [id(DISPID_ARRAY_SPLICE)]
318 ArrayInstance *splice(
319 VARIANT start,
320 VARIANT deletecount);
322 [id(DISPID_ARRAY_TOSTRING)]
323 StringInstance *toString();
325 [id(DISPID_ARRAY_TOLOCSTRING)]
326 StringInstance *toLocaleString();
328 [id(DISPID_ARRAY_VALUEOF)]
329 ArrayInstance *valueOf();
331 [id(DISPID_ARRAY_UNSHIFT)]
332 VARIANT unshift(VARIANT value);
334 [id(DISPID_ARRAY_HASOWNPROP)]
335 VARIANT hasOwnProperty(VARIANT propertyName);
337 [id(DISPID_ARRAY_PROPISENUM)]
338 VARIANT propertyIsEnumerable(VARIANT propertyName);
340 [id(DISPID_ARRAY_ISPROTOF)]
341 VARIANT isPrototypeOf(VARIANT obj);
345 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b093)
347 dispinterface FunctionInstance {
348 properties:
349 [id(DISPID_FUNCTION_LENGTH)]
350 VARIANT length;
351 methods:
352 [id(DISPID_FUNCTION_TOSTRING)]
353 StringInstance *toString();
355 [id(DISPID_FUNCTION_TOLOCSTRING)]
356 StringInstance *toLocaleString();
358 [id(DISPID_FUNCTION_VALUEOF)]
359 FunctionInstance *valueOf();
361 [id(DISPID_FUNCTION_APPLY)]
362 VARIANT apply(
363 VARIANT thisValue,
364 VARIANT argArray);
366 [id(DISPID_FUNCTION_CALL)]
367 VARIANT call(VARIANT thisValue);
369 [id(DISPID_FUNCTION_HASOWNPROP)]
370 VARIANT hasOwnProperty(VARIANT propertyName);
372 [id(DISPID_FUNCTION_PROPISENUM)]
373 VARIANT propertyIsEnumerable(VARIANT propertyName);
375 [id(DISPID_FUNCTION_ISPROTOF)]
376 VARIANT isPrototypeOf(VARIANT obj);
380 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b094)
382 dispinterface StringInstance {
383 properties:
384 [id(DISPID_STRING_LENGTH)]
385 VARIANT length;
386 methods:
387 [id(DISPID_STRING_TOSTRING)]
388 StringInstance *toString();
390 [id(DISPID_STRING_VALUEOF)]
391 StringInstance *valueOf();
393 [id(DISPID_STRING_ANCHOR)]
394 StringInstance *anchor(VARIANT anchorString);
396 [id(DISPID_STRING_BIG)]
397 StringInstance *big();
399 [id(DISPID_STRING_BLINK)]
400 StringInstance *blink();
402 [id(DISPID_STRING_BOLD)]
403 StringInstance *bold();
405 [id(DISPID_STRING_CHARAT)]
406 StringInstance *charAt(VARIANT index);
408 [id(DISPID_STRING_CHARCODEAT)]
409 VARIANT charCodeAt(VARIANT index);
411 [id(DISPID_STRING_CONCAT)]
412 StringInstance *concat(VARIANT String);
414 [id(DISPID_STRING_FIXED)]
415 StringInstance *fixed();
417 [id(DISPID_STRING_FONTCOLOR)]
418 StringInstance *fontcolor(VARIANT colorval);
420 [id(DISPID_STRING_FONTSIZE)]
421 StringInstance *fontsize(VARIANT size);
423 [id(DISPID_STRING_INDEXOF)]
424 VARIANT indexOf(
425 VARIANT substring,
426 VARIANT startindex);
428 [id(DISPID_STRING_ITALICS)]
429 StringInstance *italics();
431 [id(DISPID_STRING_LASTINDEXOF)]
432 VARIANT lastIndexOf(
433 VARIANT substring,
434 VARIANT startindex);
436 [id(DISPID_STRING_LINK)]
437 StringInstance *link(VARIANT linkstring);
439 [id(DISPID_STRING_MATCH)]
440 VARIANT match(VARIANT RegExp);
442 [id(DISPID_STRING_REPLACE)]
443 StringInstance *replace(
444 VARIANT RegExp,
445 VARIANT replacetext);
447 [id(DISPID_STRING_SEARCH)]
448 VARIANT search(VARIANT RegExp);
450 [id(DISPID_STRING_SLICE)]
451 StringInstance *slice(
452 VARIANT start,
453 VARIANT end);
455 [id(DISPID_STRING_SMALL)]
456 StringInstance *_small(); /* FIXME */
458 [id(DISPID_STRING_SPLIT)]
459 ArrayInstance *split(VARIANT RegExp);
461 [id(DISPID_STRING_STRIKE)]
462 StringInstance *strike();
464 [id(DISPID_STRING_SUB)]
465 StringInstance *sub();
467 [id(DISPID_STRING_SUBSTRING)]
468 StringInstance *substring(
469 VARIANT start,
470 VARIANT end);
472 [id(DISPID_STRING_SUBSTR)]
473 StringInstance *substr(
474 VARIANT start,
475 VARIANT length);
477 [id(DISPID_STRING_SUP)]
478 StringInstance *sup();
480 [id(DISPID_STRING_TOLOWERCASE)]
481 StringInstance *toLowerCase();
483 [id(DISPID_STRING_TOUPPERCASE)]
484 StringInstance *toUpperCase();
486 [id(DISPID_STRING_TOLOCLOWERCASE)]
487 StringInstance *toLocaleLowerCase();
489 [id(DISPID_STRING_TOLOCUPPERCASE)]
490 StringInstance *toLocaleUpperCase();
492 [id(DISPID_STRING_LOCCOMPARE)]
493 VARIANT localeCompare(VARIANT that);
495 [id(DISPID_STRING_HASOWNPROP)]
496 VARIANT hasOwnProperty(VARIANT propertyName);
498 [id(DISPID_STRING_PROPISENUM)]
499 VARIANT propertyIsEnumerable(VARIANT propertyName);
501 [id(DISPID_STRING_ISPROTOF)]
502 VARIANT isPrototypeOf(VARIANT obj);
506 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b095)
508 dispinterface BoolInstance {
509 properties:
510 methods:
511 [id(DISPID_BOOL_TOSTRING)]
512 StringInstance *toString();
514 [id(DISPID_BOOL_TOLOCSTRING)]
515 StringInstance *toLocaleString();
517 [id(DISPID_BOOL_VALUEOF)]
518 VARIANT valueOf();
520 [id(DISPID_BOOL_HASOWNPROP)]
521 VARIANT hasOwnProperty(VARIANT propertyName);
523 [id(DISPID_BOOL_PROPISENUM)]
524 VARIANT propertyIsEnumerable(VARIANT propertyName);
526 [id(DISPID_BOOL_ISPROTOF)]
527 VARIANT isPrototypeOf(VARIANT obj);
531 uuid(3eef9758-35fc-11d1-8ce4-00C04fc2b096)
533 dispinterface NumberInstance {
534 properties:
535 methods:
536 [id(DISPID_NUMBER_TOSTRING)]
537 StringInstance *toString(VARIANT radix);
539 [id(DISPID_NUMBER_TOLOCSTRING)]
540 StringInstance *toLocaleString();
542 [id(DISPID_NUMBER_TOFIXED)]
543 StringInstance *toFixed(VARIANT fractionDigits);
545 [id(DISPID_NUMBER_TOEXPONENTIAL)]
546 StringInstance *toExponential(VARIANT fractionDigits);
548 [id(DISPID_NUMBER_TOPRECISION)]
549 StringInstance *toPrecision(VARIANT precision);
551 [id(DISPID_NUMBER_VALUEOF)]
552 VARIANT valueOf();
554 [id(DISPID_NUMBER_HASOWNPROP)]
555 VARIANT hasOwnProperty(VARIANT propertyName);
557 [id(DISPID_NUMBER_PROPISENUM)]
558 VARIANT propertyIsEnumerable(VARIANT propertyName);
560 [id(DISPID_NUMBER_ISPROTOF)]
561 VARIANT isPrototypeOf(VARIANT obj);
565 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b097)
567 dispinterface ObjectInstance {
568 properties:
569 methods:
570 [id(DISPID_OBJECT_TOSTRING)]
571 StringInstance *toString();
573 [id(DISPID_OBJECT_TOLOCSTRING)]
574 StringInstance *toLocaleString();
576 [id(DISPID_OBJECT_HASOWNPROP)]
577 VARIANT hasOwnProperty(VARIANT propertyName);
579 [id(DISPID_OBJECT_PROPISENUM)]
580 VARIANT propertyIsEnumerable(VARIANT propertyName);
582 [id(DISPID_OBJECT_ISPROTOF)]
583 VARIANT isPrototypeOf(VARIANT obj);
585 [id(DISPID_OBJECT_VALUEOF)]
586 ObjectInstance *valueOf();
590 uuid(3eef9758-35fc-11d1-8ce4-00C04fc2b098)
592 dispinterface DateInstance {
593 properties:
594 methods:
595 [id(DISPID_DATE_TOSTRING)]
596 StringInstance *toString();
598 [id(DISPID_DATE_TOLOCSTRING)]
599 StringInstance *toLocaleString();
601 [id(DISPID_DATE_HASOWNPROP)]
602 VARIANT hasOwnProperty(VARIANT propertyName);
604 [id(DISPID_DATE_PROPISENUM)]
605 VARIANT propertyIsEnumerable(VARIANT propertyName);
607 [id(DISPID_DATE_ISPROTOF)]
608 VARIANT isPrototypeOf(VARIANT obj);
610 [id(DISPID_DATE_VALUEOF)]
611 DateInstance *valueOf();
613 [id(DISPID_DATE_TOUTCSTRING)]
614 StringInstance *toUTCString();
616 [id(DISPID_DATE_TODATESTRING)]
617 StringInstance *toDateString();
619 [id(DISPID_DATE_TOTIMESTRING)]
620 StringInstance *toTimeString();
622 [id(DISPID_DATE_TOLOCDATESTRING)]
623 StringInstance *toLocaleDateString();
625 [id(DISPID_DATE_TOLOCTIMESTRING)]
626 StringInstance *toLocaleTimeString();
628 [id(DISPID_DATE_GETTIME)]
629 VARIANT getTime();
631 [id(DISPID_DATE_GETFULLYEAR)]
632 VARIANT getFullYear();
634 [id(DISPID_DATE_GETUTCFULLYEAR)]
635 VARIANT getUTCFullYear();
637 [id(DISPID_DATE_GETMONTH)]
638 VARIANT getMonth();
640 [id(DISPID_DATE_GETUTCMONTH)]
641 VARIANT getUTCMonth();
643 [id(DISPID_DATE_GETDATE)]
644 VARIANT getDate();
646 [id(DISPID_DATE_GETUTCDATE)]
647 VARIANT getUTCDate();
649 [id(DISPID_DATE_GETDAY)]
650 VARIANT getDay();
652 [id(DISPID_DATE_GETUTCDAY)]
653 VARIANT getUTCDay();
655 [id(DISPID_DATE_GETHOURS)]
656 VARIANT getHours();
658 [id(DISPID_DATE_GETUTCHOURS)]
659 VARIANT getUTCHours();
661 [id(DISPID_DATE_GETMINUTES)]
662 VARIANT getMinutes();
664 [id(DISPID_DATE_GETUTCMINUTES)]
665 VARIANT getUTCMinutes();
667 [id(DISPID_DATE_GETSECONDS)]
668 VARIANT getSeconds();
670 [id(DISPID_DATE_GETUTCSECONDS)]
671 VARIANT getUTCSeconds();
673 [id(DISPID_DATE_GETMILLISECONDS)]
674 VARIANT getMilliseconds();
676 [id(DISPID_DATE_GETUTCMILLISECONDS)]
677 VARIANT getUTCMilliseconds();
679 [id(DISPID_DATE_GETTIMEZONEOFFSET)]
680 VARIANT getTimezoneOffset();
682 [id(DISPID_DATE_SETTIME)]
683 DateInstance *setTime(VARIANT time);
685 [id(DISPID_DATE_SETMILLISECONDS)]
686 DateInstance *setMilliseconds(VARIANT milliseconds);
688 [id(DISPID_DATE_SETUTCMILLISECONDS)]
689 DateInstance *setUTCMilliseconds(VARIANT milliseconds);
691 [id(DISPID_DATE_SETSECONDS)]
692 DateInstance *setSeconds(
693 VARIANT seconds,
694 [optional] VARIANT milliseconds);
696 [id(DISPID_DATE_SETUTCSECONDS)]
697 DateInstance *setUTCSeconds(
698 VARIANT seconds,
699 [optional] VARIANT milliseconds);
701 [id(DISPID_DATE_SETMINUTES)]
702 DateInstance *setMinutes(
703 VARIANT minutes,
704 [optional] VARIANT seconds,
705 [optional] VARIANT milliseconds);
707 [id(DISPID_DATE_SETUTCMINUTES)]
708 DateInstance *setUTCMinutes(
709 VARIANT minutes,
710 [optional] VARIANT seconds,
711 [optional] VARIANT milliseconds);
713 [id(DISPID_DATE_SETHOURS)]
714 DateInstance *setHours(
715 VARIANT hours,
716 [optional] VARIANT minutes,
717 [optional] VARIANT seconds,
718 [optional] VARIANT milliseconds);
720 [id(DISPID_DATE_SETUTCHOURS)]
721 DateInstance *setUTCHours(
722 VARIANT hours,
723 [optional] VARIANT minutes,
724 [optional] VARIANT seconds,
725 [optional] VARIANT milliseconds);
727 [id(DISPID_DATE_SETDATE)]
728 DateInstance *setDate(VARIANT Date);
730 [id(DISPID_DATE_SETUTCDATE)]
731 DateInstance *setUTCDate(VARIANT Date);
733 [id(DISPID_DATE_SETMONTH)]
734 DateInstance *setMonth(
735 VARIANT month,
736 [optional] VARIANT Date);
738 [id(DISPID_DATE_SETUTCMONTH)]
739 DateInstance *setUTCMonth(
740 VARIANT month,
741 [optional] VARIANT Date);
743 [id(DISPID_DATE_SETFULLYEAR)]
744 DateInstance *setFullYear(
745 VARIANT year,
746 [optional] VARIANT month,
747 [optional] VARIANT Date);
749 [id(DISPID_DATE_SETUTCFULLYEAR)]
750 DateInstance *setUTCFullYear(
751 VARIANT year,
752 [optional] VARIANT month,
753 [optional] VARIANT Date);
757 uuid(3eef9758-35fc-11d1-8ce4-00c04Fc2b099)
759 dispinterface RegExpInstance {
760 properties:
761 [id(DISPID_REGEXP_SOURCE)]
762 StringInstance *source;
764 [id(DISPID_REGEXP_GLOBAL)]
765 VARIANT global;
767 [id(DISPID_REGEXP_IGNORECASE)]
768 VARIANT ignoreCase;
770 [id(DISPID_REGEXP_MULTILINE)]
771 VARIANT multiline;
773 [id(DISPID_REGEXP_LASTINDEX)]
774 VARIANT lastIndex;
775 methods:
776 [id(DISPID_REGEXP_TOSTRING)]
777 StringInstance *toString();
779 [id(DISPID_REGEXP_TOLOCSTRING)]
780 StringInstance *toLocaleString();
782 [id(DISPID_REGEXP_HASOWNPROP)]
783 VARIANT hasOwnProperty(VARIANT propertyName);
785 [id(DISPID_REGEXP_PROPISENUM)]
786 VARIANT propertyIsEnumerable(VARIANT propertyName);
788 [id(DISPID_REGEXP_ISPROTOF)]
789 VARIANT isPrototypeOf(VARIANT obj);
791 [id(DISPID_REGEXP_EXEC)]
792 ArrayInstance *exec(VARIANT String);
796 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09a)
798 dispinterface ErrorInstance {
799 properties:
800 [id(DISPID_ERROR_NAME)]
801 StringInstance *name;
803 [id(DISPID_ERROR_MESSAGE)]
804 StringInstance *message;
806 [id(DISPID_ERROR_IGNORECASE)]
807 VARIANT ignoreCase;
809 [id(DISPID_ERROR_MULTILINE)]
810 VARIANT multiline;
812 [id(DISPID_ERROR_LASTINDEX)]
813 VARIANT lastIndex;
815 methods:
816 [id(DISPID_ERROR_TOSTRING)]
817 StringInstance *toString();
819 [id(DISPID_ERROR_TOLOCSTRING)]
820 StringInstance *toLocaleString();
822 [id(DISPID_ERROR_HASOWNPROP)]
823 VARIANT hasOwnProperty(VARIANT propertyName);
825 [id(DISPID_ERROR_PROPISENUM)]
826 VARIANT propertyIsEnumerable(VARIANT propertyName);
828 [id(DISPID_ERROR_ISPROTOF)]
829 VARIANT isPrototypeOf(VARIANT obj);
833 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09b)
835 dispinterface EvalErrorInstance {
836 properties:
837 [id(DISPID_ERROR_NAME)]
838 StringInstance *name;
840 [id(DISPID_ERROR_MESSAGE)]
841 StringInstance *message;
843 [id(DISPID_ERROR_IGNORECASE)]
844 VARIANT ignoreCase;
846 [id(DISPID_ERROR_MULTILINE)]
847 VARIANT multiline;
849 [id(DISPID_ERROR_LASTINDEX)]
850 VARIANT lastIndex;
852 methods:
853 [id(DISPID_ERROR_TOSTRING)]
854 StringInstance *toString();
856 [id(DISPID_ERROR_TOLOCSTRING)]
857 StringInstance *toLocaleString();
859 [id(DISPID_ERROR_HASOWNPROP)]
860 VARIANT hasOwnProperty(VARIANT propertyName);
862 [id(DISPID_ERROR_PROPISENUM)]
863 VARIANT propertyIsEnumerable(VARIANT propertyName);
865 [id(DISPID_ERROR_ISPROTOF)]
866 VARIANT isPrototypeOf(VARIANT obj);
870 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09c)
872 dispinterface RangeErrorInstance {
873 properties:
874 [id(DISPID_ERROR_NAME)]
875 StringInstance *name;
877 [id(DISPID_ERROR_MESSAGE)]
878 StringInstance *message;
880 [id(DISPID_ERROR_IGNORECASE)]
881 VARIANT ignoreCase;
883 [id(DISPID_ERROR_MULTILINE)]
884 VARIANT multiline;
886 [id(DISPID_ERROR_LASTINDEX)]
887 VARIANT lastIndex;
889 methods:
890 [id(DISPID_ERROR_TOSTRING)]
891 StringInstance *toString();
893 [id(DISPID_ERROR_TOLOCSTRING)]
894 StringInstance *toLocaleString();
896 [id(DISPID_ERROR_HASOWNPROP)]
897 VARIANT hasOwnProperty(VARIANT propertyName);
899 [id(DISPID_ERROR_PROPISENUM)]
900 VARIANT propertyIsEnumerable(VARIANT propertyName);
902 [id(DISPID_ERROR_ISPROTOF)]
903 VARIANT isPrototypeOf(VARIANT obj);
907 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09d)
909 dispinterface ReferenceErrorInstance {
910 properties:
911 [id(DISPID_ERROR_NAME)]
912 StringInstance *name;
914 [id(DISPID_ERROR_MESSAGE)]
915 StringInstance *message;
917 [id(DISPID_ERROR_IGNORECASE)]
918 VARIANT ignoreCase;
920 [id(DISPID_ERROR_MULTILINE)]
921 VARIANT multiline;
923 [id(DISPID_ERROR_LASTINDEX)]
924 VARIANT lastIndex;
926 methods:
927 [id(DISPID_ERROR_TOSTRING)]
928 StringInstance *toString();
930 [id(DISPID_ERROR_TOLOCSTRING)]
931 StringInstance *toLocaleString();
933 [id(DISPID_ERROR_HASOWNPROP)]
934 VARIANT hasOwnProperty(VARIANT propertyName);
936 [id(DISPID_ERROR_PROPISENUM)]
937 VARIANT propertyIsEnumerable(VARIANT propertyName);
939 [id(DISPID_ERROR_ISPROTOF)]
940 VARIANT isPrototypeOf(VARIANT obj);
944 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09e)
946 dispinterface SyntaxErrorInstance {
947 properties:
948 [id(DISPID_ERROR_NAME)]
949 StringInstance *name;
951 [id(DISPID_ERROR_MESSAGE)]
952 StringInstance *message;
954 [id(DISPID_ERROR_IGNORECASE)]
955 VARIANT ignoreCase;
957 [id(DISPID_ERROR_MULTILINE)]
958 VARIANT multiline;
960 [id(DISPID_ERROR_LASTINDEX)]
961 VARIANT lastIndex;
963 methods:
964 [id(DISPID_ERROR_TOSTRING)]
965 StringInstance *toString();
967 [id(DISPID_ERROR_TOLOCSTRING)]
968 StringInstance *toLocaleString();
970 [id(DISPID_ERROR_HASOWNPROP)]
971 VARIANT hasOwnProperty(VARIANT propertyName);
973 [id(DISPID_ERROR_PROPISENUM)]
974 VARIANT propertyIsEnumerable(VARIANT propertyName);
976 [id(DISPID_ERROR_ISPROTOF)]
977 VARIANT isPrototypeOf(VARIANT obj);
981 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b09f)
983 dispinterface TypeErrorInstance {
984 properties:
985 [id(DISPID_ERROR_NAME)]
986 StringInstance *name;
988 [id(DISPID_ERROR_MESSAGE)]
989 StringInstance *message;
991 [id(DISPID_ERROR_IGNORECASE)]
992 VARIANT ignoreCase;
994 [id(DISPID_ERROR_MULTILINE)]
995 VARIANT multiline;
997 [id(DISPID_ERROR_LASTINDEX)]
998 VARIANT lastIndex;
1000 methods:
1001 [id(DISPID_ERROR_TOSTRING)]
1002 StringInstance *toString();
1004 [id(DISPID_ERROR_TOLOCSTRING)]
1005 StringInstance *toLocaleString();
1007 [id(DISPID_ERROR_HASOWNPROP)]
1008 VARIANT hasOwnProperty(VARIANT propertyName);
1010 [id(DISPID_ERROR_PROPISENUM)]
1011 VARIANT propertyIsEnumerable(VARIANT propertyName);
1013 [id(DISPID_ERROR_ISPROTOF)]
1014 VARIANT isPrototypeOf(VARIANT obj);
1018 uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b0a0)
1020 dispinterface URIErrorInstance {
1021 properties:
1022 [id(DISPID_ERROR_NAME)]
1023 StringInstance *name;
1025 [id(DISPID_ERROR_MESSAGE)]
1026 StringInstance *message;
1028 [id(DISPID_ERROR_IGNORECASE)]
1029 VARIANT ignoreCase;
1031 [id(DISPID_ERROR_MULTILINE)]
1032 VARIANT multiline;
1034 [id(DISPID_ERROR_LASTINDEX)]
1035 VARIANT lastIndex;
1037 methods:
1038 [id(DISPID_ERROR_TOSTRING)]
1039 StringInstance *toString();
1041 [id(DISPID_ERROR_TOLOCSTRING)]
1042 StringInstance *toLocaleString();
1044 [id(DISPID_ERROR_HASOWNPROP)]
1045 VARIANT hasOwnProperty(VARIANT propertyName);
1047 [id(DISPID_ERROR_PROPISENUM)]
1048 VARIANT propertyIsEnumerable(VARIANT propertyName);
1050 [id(DISPID_ERROR_ISPROTOF)]
1051 VARIANT isPrototypeOf(VARIANT obj);