2 // LenientGlobalObject.cs:
4 // Author: Cesar Octavio Lopez Nataren
6 // (C) Cesar Octavio Lopez Nataren, <cesar@ciencias.unam.mx>
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 namespace Microsoft.JScript {
34 public class LenientGlobalObject : GlobalObject {
36 public new Object Infinity;
37 public new Object NaN;
38 public new Object undefined;
40 // Function properties
41 public new Object decodeURI;
42 public new Object decodeURIComponent;
43 public new Object encodeURI;
44 public new Object encodeURIComponent;
45 public new Object escape;
46 public new Object eval;
47 public new Object isNaN;
48 public new Object isFinite;
49 public new Object parseInt;
50 public new Object parseFloat;
51 public new Object ScriptEngine;
52 public new Object ScriptEngineBuildVersion;
53 public new Object ScriptEngineMajorVersion;
54 public new Object ScriptEngineMinorVersion;
55 public new Object unescape;
58 public new Object boolean;
59 public new Object @byte;
60 public new Object @char;
61 public new Object @decimal;
62 public new Object @double;
63 public new Object @float;
64 public new Object @int;
65 public new Object @long;
66 public new Object @sbyte;
67 public new Object @short;
68 public new Object @void;
69 public new Object @uint;
70 public new Object @ulong;
71 public new Object @ushort;
73 new public Object ActiveXObject {
74 get { throw new NotImplementedException (); }
75 set { throw new NotImplementedException (); }
78 new public Object Array {
79 get { throw new NotImplementedException (); }
80 set { throw new NotImplementedException (); }
83 new public Object Boolean {
84 get { throw new NotImplementedException (); }
85 set { throw new NotImplementedException (); }
88 new public Object Date {
89 get { throw new NotImplementedException (); }
90 set { throw new NotImplementedException (); }
93 new public Object Enumerator {
94 get { throw new NotImplementedException (); }
95 set { throw new NotImplementedException (); }
98 new public Object Error {
99 get { throw new NotImplementedException (); }
100 set { throw new NotImplementedException (); }
103 new public Object EvalError {
104 get { throw new NotImplementedException (); }
105 set { throw new NotImplementedException (); }
108 new public Object Function {
109 get { throw new NotImplementedException (); }
110 set { throw new NotImplementedException (); }
113 new public Object Math {
114 get { throw new NotImplementedException (); }
115 set { throw new NotImplementedException (); }
118 new public Object Number {
119 get { throw new NotImplementedException (); }
120 set { throw new NotImplementedException (); }
123 new public Object Object {
124 get { throw new NotImplementedException (); }
125 set { throw new NotImplementedException (); }
128 new public Object RangeError {
129 get { throw new NotImplementedException (); }
130 set { throw new NotImplementedException (); }
133 new public Object ReferenceError {
134 get { throw new NotImplementedException (); }
135 set { throw new NotImplementedException (); }
138 new public Object RegExp {
139 get { throw new NotImplementedException (); }
140 set { throw new NotImplementedException (); }
143 new public Object String {
144 get { throw new NotImplementedException (); }
145 set { throw new NotImplementedException (); }
148 new public Object SyntaxError {
149 get { throw new NotImplementedException (); }
150 set { throw new NotImplementedException (); }
153 new public Object TypeError {
154 get { throw new NotImplementedException (); }
155 set { throw new NotImplementedException (); }
158 new public Object URIError {
159 get { throw new NotImplementedException (); }
160 set { throw new NotImplementedException (); }
163 new public Object VBArray {
164 get { throw new NotImplementedException (); }
165 set { throw new NotImplementedException (); }