5 // Cesar Lopez Nataren (cesar@ciencias.unam.mx)
7 // (C) 2003, Cesar Lopez Nataren
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 using Microsoft
.JScript
.Vsa
;
34 namespace Microsoft
.JScript
{
36 public class ArrayPrototype
: ArrayObject
{
38 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
| JSFunctionAttributeEnum
.HasVarArgs
| JSFunctionAttributeEnum
.HasEngine
, JSBuiltin
.Array_concat
)]
39 public static ArrayObject
concat (object thisObj
, VsaEngine engine
,
40 params object [] args
)
42 throw new NotImplementedException ();
46 public static ArrayConstructor constructor
{
47 get { throw new NotImplementedException (); }
50 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_join
)]
51 public static string join (object thisObj
, object separator
)
53 throw new NotImplementedException ();
56 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_pop
)]
57 public static object pop (object thisObj
)
59 throw new NotImplementedException ();
62 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
| JSFunctionAttributeEnum
.HasVarArgs
, JSBuiltin
.Array_push
)]
63 public static long push (object thisObj
, params object [] args
)
65 throw new NotImplementedException ();
68 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_reverse
)]
69 public static object reverse (object thisObj
)
71 throw new NotImplementedException ();
74 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_shift
)]
75 public static object shift (object thisObj
)
77 throw new NotImplementedException ();
80 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
| JSFunctionAttributeEnum
.HasEngine
, JSBuiltin
.Array_slice
)]
81 public static ArrayObject
slice (object thisObj
, VsaEngine engine
,
82 double start
, object end
)
84 throw new NotImplementedException ();
87 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_sort
)]
88 public static object sort (object thisObj
, object function
)
90 throw new NotImplementedException ();
93 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
| JSFunctionAttributeEnum
.HasVarArgs
| JSFunctionAttributeEnum
.HasEngine
, JSBuiltin
.Array_splice
)]
94 public static ArrayObject
splice (object thisObj
, VsaEngine engine
,
95 double start
, double deleteCnt
,
96 params object [] args
)
98 throw new NotImplementedException ();
101 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_toLocaleString
)]
102 public static string toLocaleString (object thisObj
)
104 throw new NotImplementedException ();
107 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
, JSBuiltin
.Array_toString
)]
108 public static string ToString (object thisObj
)
110 throw new NotImplementedException ();
113 [JSFunctionAttribute (JSFunctionAttributeEnum
.HasThisObject
| JSFunctionAttributeEnum
.HasVarArgs
, JSBuiltin
.Array_unshift
)]
114 public static object unshift (object thisObj
, params object [] args
)
116 throw new NotImplementedException ();