C# Class Microsoft.JScript.FunctionScope

Inheritance: Microsoft.JScript.ActivationObject
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
AddNewField JSVariableField
AddOuterScopeField void
AddReturnValueField void
CloseNestedFunctions void
FunctionScope System
FunctionScope System
GetLocalFields Microsoft.JScript.JSLocalField[]
GetName String
GetNextSlotNumber int
GetOuterLocalField JSLocalField
GiveOuterFunctionsTheBadNews void
HandleUnitializedVariables void
SetMemberValue void
SetMemberValue void

Public Methods

Method Description
GetMember ( String name, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]

Protected Methods

Method Description
CreateField ( String name, FieldAttributes attributeFlags, Object value ) : JSVariableField

Private Methods

Method Description
AddNewField ( String name, FieldAttributes attributeFlags, FunctionObject func ) : JSVariableField
AddOuterScopeField ( String name, JSLocalField field ) : void
AddReturnValueField ( ) : void
CloseNestedFunctions ( StackFrame sf ) : void
FunctionScope ( ScriptObject parent ) : System
FunctionScope ( ScriptObject parent, bool isMethod ) : System
GetLocalFields ( ) : Microsoft.JScript.JSLocalField[]
GetName ( ) : String
GetNextSlotNumber ( ) : int
GetOuterLocalField ( String name ) : JSLocalField
GiveOuterFunctionsTheBadNews ( ) : void
HandleUnitializedVariables ( ) : void
SetMemberValue ( String name, Object value ) : void
SetMemberValue ( String name, Object value, StackFrame sf ) : void

Method Details

CreateField() protected method

protected CreateField ( String name, FieldAttributes attributeFlags, Object value ) : JSVariableField
name String
attributeFlags FieldAttributes
value Object
return JSVariableField

GetMember() public method

public GetMember ( String name, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
name String
bindingAttr BindingFlags
return System.Reflection.MemberInfo[]