StackFrame StackFrame StackFrame StackFrame Class

Definition

Represents a stack frame for executing code. This class contains methods for resolving scope. It belongs to the compilation and run-time state category.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class StackFrame sealed : Microsoft::JScript::ScriptObject, Microsoft::JScript::IActivationObject
public sealed class StackFrame : Microsoft.JScript.ScriptObject, Microsoft.JScript.IActivationObject
type StackFrame = class
    inherit ScriptObject
    interface IActivationObject
Public NotInheritable Class StackFrame
Inherits ScriptObject
Implements IActivationObject
Inheritance
Implements

Fields

closureInstance closureInstance closureInstance closureInstance

Stores a reference to the caller of the current stack frame.

engine engine engine engine

Stores a reference to the scripting engine.

(Inherited from ScriptObject)
localVars localVars localVars localVars

Stores the local variables for this stack frame.

parent parent parent parent

Stores a reference to the parent object.

(Inherited from ScriptObject)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDefaultThisObject() GetDefaultThisObject() GetDefaultThisObject() GetDefaultThisObject()

Gets the current default scope, which will be either the contained object of a with statement scope, or the global scope.

GetField(String, BindingFlags) GetField(String, BindingFlags) GetField(String, BindingFlags) GetField(String, BindingFlags)

Gets a field that has the specified name.

(Inherited from ScriptObject)
GetField(String, Int32) GetField(String, Int32) GetField(String, Int32) GetField(String, Int32)

Gets a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.

GetFields(BindingFlags) GetFields(BindingFlags) GetFields(BindingFlags) GetFields(BindingFlags)

Gets an array of FieldInfo objects that correspond to all fields of the current script object.

(Inherited from ScriptObject)
GetGlobalScope() GetGlobalScope() GetGlobalScope() GetGlobalScope()

Gets the global scope by searching the scope hierarchy until it finds a scope that includes static variables, for example, a module scope.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMember(String, BindingFlags) GetMember(String, BindingFlags) GetMember(String, BindingFlags) GetMember(String, BindingFlags)

Retrieves an array of MemberInfo objects that correspond to all members that match a specified name.

GetMembers(BindingFlags) GetMembers(BindingFlags) GetMembers(BindingFlags) GetMembers(BindingFlags)

Retrieves an array of MemberInfo objects that correspond to all members of the current object.

GetMemberValue(String, Int32) GetMemberValue(String, Int32) GetMemberValue(String, Int32) GetMemberValue(String, Int32)

Gets the value of the specified member by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.

GetMethod(String, BindingFlags) GetMethod(String, BindingFlags) GetMethod(String, BindingFlags) GetMethod(String, BindingFlags)

Gets a method that has the specified name.

(Inherited from ScriptObject)
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

Gets a method that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
GetMethods(BindingFlags) GetMethods(BindingFlags) GetMethods(BindingFlags) GetMethods(BindingFlags)

Gets an array of MethodInfo objects that correspond to all methods of the current script object.

(Inherited from ScriptObject)
GetParent() GetParent() GetParent() GetParent()

Gets a reference to the parent object.

(Inherited from ScriptObject)
GetProperties(BindingFlags) GetProperties(BindingFlags) GetProperties(BindingFlags) GetProperties(BindingFlags)

Gets an array of PropertyInfo objects that correspond to all properties of the current script object.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags) GetProperty(String, BindingFlags) GetProperty(String, BindingFlags) GetProperty(String, BindingFlags)

Gets a property that has the specified name.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

Gets a property that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

Invokes the specified member.

(Inherited from ScriptObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PushStackFrameForMethod(Object, JSLocalField[], VsaEngine) PushStackFrameForMethod(Object, JSLocalField[], VsaEngine) PushStackFrameForMethod(Object, JSLocalField[], VsaEngine) PushStackFrameForMethod(Object, JSLocalField[], VsaEngine)

Creates a new StackFrame object for a method and pushes it onto the global scope stack.

PushStackFrameForStaticMethod(RuntimeTypeHandle, JSLocalField[], VsaEngine) PushStackFrameForStaticMethod(RuntimeTypeHandle, JSLocalField[], VsaEngine) PushStackFrameForStaticMethod(RuntimeTypeHandle, JSLocalField[], VsaEngine) PushStackFrameForStaticMethod(RuntimeTypeHandle, JSLocalField[], VsaEngine)

Creates a new StackFrame object for a static method and pushes it onto the global scope stack.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IActivationObject.GetLocalField(String) IActivationObject.GetLocalField(String) IActivationObject.GetLocalField(String) IActivationObject.GetLocalField(String)

Gets the local declaration of a field that has the specified name. This method is used at compile time for error checking.

Properties

Item[Double] Item[Double] Item[Double] Item[Double]

Gets or sets a member of the script object that is designated by the specified Double index value.

(Inherited from ScriptObject)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets a member of the script object that is designated by the specified Int32 index value.

(Inherited from ScriptObject)
Item[Object[]] Item[Object[]] Item[Object[]] Item[Object[]]

Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.

(Inherited from ScriptObject)
Item[String] Item[String] Item[String] Item[String]

Gets or sets a member of the script object that is designated by the specified name.

(Inherited from ScriptObject)
UnderlyingSystemType UnderlyingSystemType UnderlyingSystemType UnderlyingSystemType

Gets the type of the script object.

(Inherited from ScriptObject)

Applies to

See also