C# Class Microsoft.JScript.Class

Inheritance: AST
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Protected Properties

Property Type Description
classob ClassScope
fields Microsoft.JScript.JSMemberField[]
needsEngine bool

Private Properties

Property Type Description
AddImplicitInterfaces void
AllocateImplicitDefaultConstructor void
CanSee bool
CheckFieldDeclarationConsistency void
CheckIfOKToGenerateCodeForExpando void
CheckIfValidExtensionOfSuperType void
CheckMatchingMethodForConsistency void
CheckMethodDeclarationConsistency void
CheckThatAllAbstractSuperClassMethodsAreImplemented void
CheckThatMethodIsNotMarkedWithOverrideOrHide void
Class Microsoft.JScript.Vsa
DefinedOnInterface bool
EmitILForINeedEngineMethods void
EmitInitialCalls void
EmitUsingNamespaces void
EnterNameIntoEnclosingScopeAndGetOwnField void
Evaluate Object
GenerateGetEnumerator void
GetExpandoDeleteMethod void
GetExpandoFieldGetter void
GetExpandoIndexerGetter System.Reflection.MethodInfo
GetExpandoIndexerSetter System.Reflection.MethodInfo
GetFirstExecutableContext Context
GetFullName String
GetFullNameFor String
GetIRForSuperType void
GetInterfaceMember System.Reflection.MemberInfo[]
GetStartIndexForEachName void
GetSuperConstructor System.Reflection.ConstructorInfo
GetSuperTypeMembers void
GetTypeBuilder System.Reflection.Emit.TypeBuilder
GetTypeBuilderOrEnumBuilder System.Type
GetUnimplementedInferfaceMembers void
GetUnimplementedInferfaceMembersFor void
ImplementsInterface bool
IsASubClassOf bool
IsCustomAttribute bool
IsExpando bool
IsInTheSameCompilationUnit bool
IsInTheSamePackage bool
ParametersMatch bool
PartiallyEvaluate AST
ResolveEnum System.Reflection.Assembly
SetAccessibility void
SetupConstructors void
TranslateToCOMPlusClass void
TranslateToCreateTypeCall void
TranslateToIL void
TranslateToILInitializer void

Protected Methods

Method Description
CheckMemberNamesForCLSCompliance ( ) : void
NeedsToBeCheckedForCLSCompliance ( ) : bool

Private Methods

Method Description
AddImplicitInterfaces ( IReflect iface, IReflect explicitInterfaces, ArrayList implicitInterfaces ) : void
AllocateImplicitDefaultConstructor ( ) : void
CanSee ( MemberInfo member ) : bool
CheckFieldDeclarationConsistency ( JSMemberField field ) : void
CheckIfOKToGenerateCodeForExpando ( bool superClassIsExpando ) : void
CheckIfValidExtensionOfSuperType ( ) : void
CheckMatchingMethodForConsistency ( MethodInfo matchingMethod, FunctionObject func, int i, int n ) : void
CheckMethodDeclarationConsistency ( FunctionObject func ) : void
CheckThatAllAbstractSuperClassMethodsAreImplemented ( ) : void
CheckThatMethodIsNotMarkedWithOverrideOrHide ( FunctionObject func ) : void
Class ( Context context, AST id, TypeExpression superTypeExpression, TypeExpression interfaces, Block body, FieldAttributes attributes, bool isAbstract, bool isFinal, bool isStatic, bool isInterface, CustomAttributeList customAttributes ) : Microsoft.JScript.Vsa
DefinedOnInterface ( MethodInfo meth ) : bool
EmitILForINeedEngineMethods ( ) : void
EmitInitialCalls ( ILGenerator il, MethodBase supcons, ParameterInfo pars, ASTList argAST, int callerParameterCount ) : void
EmitUsingNamespaces ( ILGenerator il ) : void
EnterNameIntoEnclosingScopeAndGetOwnField ( AST id, bool isStatic ) : void
Evaluate ( ) : Object
GenerateGetEnumerator ( ) : void
GetExpandoDeleteMethod ( ) : void
GetExpandoFieldGetter ( TypeBuilder classwriter ) : void
GetExpandoIndexerGetter ( ) : MethodInfo
GetExpandoIndexerSetter ( ) : MethodInfo
GetFirstExecutableContext ( ) : Context
GetFullName ( ) : String
GetFullNameFor ( MemberInfo supMem ) : String
GetIRForSuperType ( ) : void
GetInterfaceMember ( String name ) : System.Reflection.MemberInfo[]
GetStartIndexForEachName ( ) : void
GetSuperConstructor ( IReflect argIRs ) : ConstructorInfo
GetSuperTypeMembers ( ) : void
GetTypeBuilder ( ) : TypeBuilder
GetTypeBuilderOrEnumBuilder ( ) : Type
GetUnimplementedInferfaceMembers ( SuperTypeMembersSorter sorter ) : void
GetUnimplementedInferfaceMembersFor ( Type type, SuperTypeMembersSorter sorter ) : void
ImplementsInterface ( IReflect iface ) : bool
IsASubClassOf ( Class cl ) : bool
IsCustomAttribute ( ) : bool
IsExpando ( ) : bool
IsInTheSameCompilationUnit ( MemberInfo member ) : bool
IsInTheSamePackage ( MemberInfo member ) : bool
ParametersMatch ( ParameterInfo suppars, ParameterInfo pars ) : bool
PartiallyEvaluate ( ) : AST
ResolveEnum ( Object sender, ResolveEventArgs args ) : Assembly
SetAccessibility ( FieldAttributes attributes ) : void
SetupConstructors ( ) : void
TranslateToCOMPlusClass ( ) : void
TranslateToCreateTypeCall ( ) : void
TranslateToIL ( ILGenerator il, Type rtype ) : void
TranslateToILInitializer ( ILGenerator il ) : void

Method Details

CheckMemberNamesForCLSCompliance() protected method

protected CheckMemberNamesForCLSCompliance ( ) : void
return void

NeedsToBeCheckedForCLSCompliance() protected method

protected NeedsToBeCheckedForCLSCompliance ( ) : bool
return bool

Property Details

classob protected property

protected ClassScope,Microsoft.JScript classob
return ClassScope

fields protected property

protected JSMemberField[],Microsoft.JScript fields
return Microsoft.JScript.JSMemberField[]

needsEngine protected property

protected bool needsEngine
return bool