C# Class Microsoft.JScript.FunctionDeclaration

Inheritance: AST
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
JScriptFunctionDeclaration ( RuntimeTypeHandle handle, String name, String method_name, String formal_parameters, JSLocalField fields, bool must_save_stack_locals, bool hasArgumentsObject, String text, Object declaringObject, VsaEngine engine ) : Closure

Private Methods

Method Description
Evaluate ( ) : Object
FunctionDeclaration ( Context context, AST ifaceId, IdentifierLiteral id, ParameterDeclaration formal_parameters, TypeExpression return_type, Block body, FunctionScope own_scope, FieldAttributes attributes, bool isMethod, bool isGetter, bool isSetter, bool isAbstract, bool isFinal, CustomAttributeList customAttributes ) : Microsoft.JScript.Vsa
GetFirstExecutableContext ( ) : Context
PartiallyEvaluate ( ) : AST
TranslateToIL ( ILGenerator il, Type rtype ) : void
TranslateToILClosure ( ILGenerator il ) : void
TranslateToILInitializer ( ILGenerator il ) : void
TranslateToILSourceTextProvider ( ) : void

Method Details

JScriptFunctionDeclaration() public static method

public static JScriptFunctionDeclaration ( RuntimeTypeHandle handle, String name, String method_name, String formal_parameters, JSLocalField fields, bool must_save_stack_locals, bool hasArgumentsObject, String text, Object declaringObject, VsaEngine engine ) : Closure
handle System.RuntimeTypeHandle
name String
method_name String
formal_parameters String
fields JSLocalField
must_save_stack_locals bool
hasArgumentsObject bool
text String
declaringObject Object
engine Microsoft.JScript.Vsa.VsaEngine
return Closure