dd28a2868ce5f3b188f7815c51c0b4e32218a926
[mono.git] / mcs / class / Microsoft.JScript / Microsoft.JScript / ScriptObject.cs
1 //
2 // ScriptObject.cs:
3 //
4 // Author: Cesar Octavio Lopez Nataren
5 //
6 // (C) 2003, Cesar Octavio Lopez Nataren, <cesar@ciencias.unam.mx>
7 //
8
9 namespace Microsoft.JScript
10 {
11         using System;
12         using System.Globalization;
13         using System.Reflection;
14
15         public abstract class ScriptObject : IReflect
16         {
17                 public VsaEngine engine;
18
19                 public FieldInfo GetField (string name, BindingFlags bindFlags)
20                 {
21                         throw new NotImplementedException ();
22                 }
23
24                 public virtual FieldInfo [] GetFields (BindingFlags bindFlags)
25                 {
26                         throw new NotImplementedException ();
27                 }
28
29                 public abstract MemberInfo [] GetMember (string name, BindingFlags bindFlags);          
30
31                 public abstract MemberInfo [] GetMembers (BindingFlags bindFlags);
32
33                 public MethodInfo GetMethod (string name, BindingFlags bindFlags)
34                 {
35                         throw new NotImplementedException ();
36                 }
37
38                 public MethodInfo GetMethod (string name, BindingFlags bindFlags, 
39                                              Binder binder, Type [] types, ParameterModifier [] modifiers)
40                 {
41                         throw new NotImplementedException ();
42                 }
43
44                 public virtual MethodInfo[] GetMethods (BindingFlags bindFlags)
45                 {
46                         throw new NotImplementedException ();
47                 }
48
49                 public virtual MethodInfo GetMethods (string name, BindingFlags bindFlags)
50                 {
51                         throw new NotImplementedException ();
52                 }
53
54                 public ScriptObject GetParent ()
55                 {
56                         throw new NotImplementedException ();
57                 }
58
59                 public PropertyInfo GetProperty (string name, BindingFlags bindFlags)
60                 {
61                         throw new NotImplementedException ();
62                 }
63
64                 public PropertyInfo GetProperty (string name, BindingFlags bindFlags,
65                                                  Binder binder, Type returnType, Type [] types,
66                                                  ParameterModifier [] modifiers)
67                 {
68                         throw new NotImplementedException ();
69                 }
70
71                 public virtual PropertyInfo [] GetProperties (BindingFlags bindFlags)
72                 {
73                         throw new NotImplementedException ();
74                 }
75
76                 public virtual Object InvokeMember (string name,  BindingFlags invokeAttr, 
77                                                     Binder binder, Object target,
78                                                     Object[] args, ParameterModifier [] modifiers, 
79                                                     CultureInfo locale, string[] namedParameters)
80                 {
81                         throw new NotImplementedException ();
82                 }
83
84                 public Object this [double index] {
85                         get { throw new NotImplementedException (); }
86                         set { throw new NotImplementedException ();}
87                 }
88
89                 public Object this [int index] {
90                         get { throw new NotImplementedException (); }
91                         set { throw new NotImplementedException (); }
92                 }
93
94                 public Object this [string name] {
95                         get { throw new NotImplementedException (); }
96                         set { throw new NotImplementedException (); }
97                 }
98
99                 /*
100                 public Object this [params Object [] pars] {
101                         get { throw new NotImplementedException (); }
102                         set { throw new NotImplementedException (); }
103                 }
104                 */
105
106                 public virtual Type UnderlyingSystemType {
107                         get { throw new NotImplementedException (); }
108                 }
109         }
110 }