merge from trunk revisions 58933, 58935, 58936
[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 sealed 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 GetObject;
52                 public new Object ScriptEngine;
53                 public new Object ScriptEngineBuildVersion;
54                 public new Object ScriptEngineMajorVersion;
55                 public new Object ScriptEngineMinorVersion;
56                 public new Object unescape;
57
58                 // built in types
59                 public new Object boolean;
60                 public new Object @byte;
61                 public new Object @char;
62                 public new Object @decimal;
63                 public new Object @double;
64                 public new Object @float;
65                 public new Object @int;
66                 public new Object @long;
67                 public new Object @sbyte;
68                 public new Object @short;
69                 public new Object @void;
70                 public new Object @uint;
71                 public new Object @ulong;
72                 public new Object @ushort;
73
74                 new public Object ActiveXObject {
75                         get { throw new NotImplementedException (); }
76                         set { throw new NotImplementedException (); }
77                 }
78
79                 new public Object Array {
80                         get { throw new NotImplementedException (); }
81                         set { throw new NotImplementedException (); }
82                 }
83
84                 new public Object Boolean {
85                         get { throw new NotImplementedException (); }
86                         set { throw new NotImplementedException (); }
87                 }
88
89                 new public Object Date {
90                         get { throw new NotImplementedException (); }
91                         set { throw new NotImplementedException (); }
92                 }
93
94                 new public Object Enumerator {
95                         get { throw new NotImplementedException (); }
96                         set { throw new NotImplementedException (); }
97                 }
98
99                 new public Object Error {
100                         get { throw new NotImplementedException (); }
101                         set { throw new NotImplementedException (); }
102                 }
103
104                 new public Object EvalError {
105                         get { throw new NotImplementedException (); }
106                         set { throw new NotImplementedException (); }
107                 }
108
109                 new public Object Function {
110                         get { throw new NotImplementedException (); }
111                         set { throw new NotImplementedException (); }
112                 }
113
114                 new public Object Math {
115                         get { throw new NotImplementedException (); }
116                         set { throw new NotImplementedException (); }
117                 }
118
119                 new public Object Number {
120                         get { throw new NotImplementedException (); }
121                         set { throw new NotImplementedException (); }
122                 }
123
124                 new public Object Object {
125                         get { throw new NotImplementedException (); }
126                         set { throw new NotImplementedException (); }
127                 }
128
129                 new public Object RangeError {
130                         get { throw new NotImplementedException (); }
131                         set { throw new NotImplementedException (); }
132                 }
133
134                 new public Object ReferenceError {
135                         get { throw new NotImplementedException (); }
136                         set { throw new NotImplementedException (); }
137                 }
138
139                 new public Object RegExp {
140                         get { throw new NotImplementedException (); }
141                         set { throw new NotImplementedException (); }
142                 }
143
144                 new public Object String {
145                         get { throw new NotImplementedException (); }
146                         set { throw new NotImplementedException (); }
147                 }
148
149                 new public Object SyntaxError {
150                         get { throw new NotImplementedException (); }
151                         set { throw new NotImplementedException (); }
152                 }
153
154                 new public Object TypeError {
155                         get { throw new NotImplementedException (); }
156                         set { throw new NotImplementedException (); }
157                 }
158
159                 new public Object URIError {
160                         get { throw new NotImplementedException (); }
161                         set { throw new NotImplementedException (); }
162                 }
163
164                 new public Object VBArray {
165                         get { throw new NotImplementedException (); }
166                         set { throw new NotImplementedException (); }
167                 }
168         }
169 }