**** Merged from MCS ****
[mono-project.git] / mcs / class / Microsoft.JScript / Microsoft.JScript / StackFrame.cs
blobc431fb4a8eb6fc6020b8568cf44058beae81724b
1 //
2 // StackFrame.cs:
3 //
4 // Author:
5 // Cesar Lopez Nataren (cesar@ciencias.unam.mx)
6 //
7 // (C) 2003, Cesar Lopez Nataren
8 //
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:
18 //
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 //
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.
31 namespace Microsoft.JScript.Tmp
33 using System;
34 using System.Reflection;
35 using Microsoft.JScript.Vsa;
37 public sealed class StackFrame : ScriptObject, IActivationObject
39 public object [] localVars;
40 public object closureInstance;
43 public object GetDefaultThisObject ()
45 throw new NotImplementedException ();
49 public FieldInfo GetField (string name, int lexLevel)
51 throw new NotImplementedException ();
55 public GlobalScope GetGlobalScope ()
57 throw new NotImplementedException ();
61 FieldInfo IActivationObject.GetLocalField (string name)
63 throw new NotImplementedException ();
67 public override MemberInfo [] GetMember (string name, BindingFlags bindAttr)
69 throw new NotImplementedException ();
73 public override MemberInfo [] GetMembers (BindingFlags bindAttr)
75 throw new NotImplementedException ();
79 public object GetMemberValue (string name, int lexLevel)
81 throw new NotImplementedException ();
85 public static void PushStackFrameForStaticMethod (RuntimeTypeHandle thisClass,
86 JSLocalField [] fields,
87 VsaEngine engine)
89 throw new NotImplementedException ();
93 public static void PushStackFrameForMethod (object thisObj, JSLocalField [] fields,
94 VsaEngine engine)
96 throw new NotImplementedException ();