Add licensing info
[mono.git] / mcs / class / Microsoft.JScript / Microsoft.JScript / LenientGlobalObject.cs
1 //
2 // LenientGlobalObject.cs:
3 //
4 // Author: Cesar Octavio Lopez Nataren
5 //
6 // (C) Cesar Octavio Lopez Nataren, <cesar@ciencias.unam.mx>
7 //
8
9 //
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:
17 // 
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 // 
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.
28 //
29
30 using System;
31
32 namespace Microsoft.JScript {
33
34         public class LenientGlobalObject : GlobalObject {
35
36                 public new Object Infinity;
37                 public new Object NaN;
38                 public new Object undefined;
39         
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;
56
57                 // built in types
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;
72
73                 new public Object ActiveXObject {
74                         get { throw new NotImplementedException (); }
75                         set { throw new NotImplementedException (); }
76                 }
77
78                 new public Object Array {
79                         get { throw new NotImplementedException (); }
80                         set { throw new NotImplementedException (); }
81                 }
82
83                 new public Object Boolean {
84                         get { throw new NotImplementedException (); }
85                         set { throw new NotImplementedException (); }
86                 }
87
88                 new public Object Date {
89                         get { throw new NotImplementedException (); }
90                         set { throw new NotImplementedException (); }
91                 }
92
93                 new public Object Enumerator {
94                         get { throw new NotImplementedException (); }
95                         set { throw new NotImplementedException (); }
96                 }
97
98                 new public Object Error {
99                         get { throw new NotImplementedException (); }
100                         set { throw new NotImplementedException (); }
101                 }
102
103                 new public Object EvalError {
104                         get { throw new NotImplementedException (); }
105                         set { throw new NotImplementedException (); }
106                 }
107
108                 new public Object Function {
109                         get { throw new NotImplementedException (); }
110                         set { throw new NotImplementedException (); }
111                 }
112
113                 new public Object Math {
114                         get { throw new NotImplementedException (); }
115                         set { throw new NotImplementedException (); }
116                 }
117
118                 new public Object Number {
119                         get { throw new NotImplementedException (); }
120                         set { throw new NotImplementedException (); }
121                 }
122
123                 new public Object Object {
124                         get { throw new NotImplementedException (); }
125                         set { throw new NotImplementedException (); }
126                 }
127
128                 new public Object RangeError {
129                         get { throw new NotImplementedException (); }
130                         set { throw new NotImplementedException (); }
131                 }
132
133                 new public Object ReferenceError {
134                         get { throw new NotImplementedException (); }
135                         set { throw new NotImplementedException (); }
136                 }
137
138                 new public Object RegExp {
139                         get { throw new NotImplementedException (); }
140                         set { throw new NotImplementedException (); }
141                 }
142
143                 new public Object String {
144                         get { throw new NotImplementedException (); }
145                         set { throw new NotImplementedException (); }
146                 }
147
148                 new public Object SyntaxError {
149                         get { throw new NotImplementedException (); }
150                         set { throw new NotImplementedException (); }
151                 }
152
153                 new public Object TypeError {
154                         get { throw new NotImplementedException (); }
155                         set { throw new NotImplementedException (); }
156                 }
157
158                 new public Object URIError {
159                         get { throw new NotImplementedException (); }
160                         set { throw new NotImplementedException (); }
161                 }
162
163                 new public Object VBArray {
164                         get { throw new NotImplementedException (); }
165                         set { throw new NotImplementedException (); }
166                 }
167         }
168 }