Repository navigation
Expand file tree
/
Copy pathFunctionDeclaration.xml
More file actions
77 lines (77 loc) · 6.24 KB
/
Copy pathFunctionDeclaration.xml
File metadata and controls
77 lines (77 loc) · 6.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<Type Name="FunctionDeclaration" FullName="Microsoft.JScript.FunctionDeclaration">
<TypeSignature Language="C#" Value="public sealed class FunctionDeclaration : Microsoft.JScript.AST" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit FunctionDeclaration extends Microsoft.JScript.AST" />
<TypeSignature Language="DocId" Value="T:Microsoft.JScript.FunctionDeclaration" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class FunctionDeclaration
Inherits AST" />
<TypeSignature Language="C++ CLI" Value="public ref class FunctionDeclaration sealed : Microsoft::JScript::AST" />
<TypeSignature Language="F#" Value="type FunctionDeclaration = class
 inherit AST" />
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>7.0.5000.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.JScript.AST</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a function declaration. This class belongs to the abstract syntax tree category.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.Closure" />
<altmember cref="T:Microsoft.JScript.FunctionObject" />
</Docs>
<Members>
<Member MemberName="JScriptFunctionDeclaration">
<MemberSignature Language="C#" Value="public static Microsoft.JScript.Closure JScriptFunctionDeclaration (RuntimeTypeHandle handle, string name, string method_name, string[] formal_parameters, Microsoft.JScript.JSLocalField[] fields, bool must_save_stack_locals, bool hasArgumentsObject, string text, object declaringObject, Microsoft.JScript.Vsa.VsaEngine engine);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.JScript.Closure JScriptFunctionDeclaration(valuetype System.RuntimeTypeHandle handle, string name, string method_name, string[] formal_parameters, class Microsoft.JScript.JSLocalField[] fields, bool must_save_stack_locals, bool hasArgumentsObject, string text, object declaringObject, class Microsoft.JScript.Vsa.VsaEngine engine) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.FunctionDeclaration.JScriptFunctionDeclaration(System.RuntimeTypeHandle,System.String,System.String,System.String[],Microsoft.JScript.JSLocalField[],System.Boolean,System.Boolean,System.String,System.Object,Microsoft.JScript.Vsa.VsaEngine)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function JScriptFunctionDeclaration (handle As RuntimeTypeHandle, name As String, method_name As String, formal_parameters As String(), fields As JSLocalField(), must_save_stack_locals As Boolean, hasArgumentsObject As Boolean, text As String, declaringObject As Object, engine As VsaEngine) As Closure" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::JScript::Closure ^ JScriptFunctionDeclaration(RuntimeTypeHandle handle, System::String ^ name, System::String ^ method_name, cli::array <System::String ^> ^ formal_parameters, cli::array <Microsoft::JScript::JSLocalField ^> ^ fields, bool must_save_stack_locals, bool hasArgumentsObject, System::String ^ text, System::Object ^ declaringObject, Microsoft::JScript::Vsa::VsaEngine ^ engine);" />
<MemberSignature Language="F#" Value="static member JScriptFunctionDeclaration : RuntimeTypeHandle * string * string * string[] * Microsoft.JScript.JSLocalField[] * bool * bool * string * obj * Microsoft.JScript.Vsa.VsaEngine -> Microsoft.JScript.Closure" Usage="Microsoft.JScript.FunctionDeclaration.JScriptFunctionDeclaration (handle, name, method_name, formal_parameters, fields, must_save_stack_locals, hasArgumentsObject, text, declaringObject, engine)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>7.0.5000.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.JScript.Closure</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handle" Type="System.RuntimeTypeHandle" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="method_name" Type="System.String" />
<Parameter Name="formal_parameters" Type="System.String[]" />
<Parameter Name="fields" Type="Microsoft.JScript.JSLocalField[]" />
<Parameter Name="must_save_stack_locals" Type="System.Boolean" />
<Parameter Name="hasArgumentsObject" Type="System.Boolean" />
<Parameter Name="text" Type="System.String" />
<Parameter Name="declaringObject" Type="System.Object" />
<Parameter Name="engine" Type="Microsoft.JScript.Vsa.VsaEngine" />
</Parameters>
<Docs>
<param name="handle">A handle to the type of the function.</param>
<param name="name">The name of the function.</param>
<param name="method_name">The name of the function.</param>
<param name="formal_parameters">The parameters of the function.</param>
<param name="fields">The fields of the function.</param>
<param name="must_save_stack_locals">
<see langword="true" /> to save local stack variables. This is important for a nested function that accesses one of its local variables or for an <see langword="eval" /> statement.</param>
<param name="hasArgumentsObject">
<see langword="true" /> if the function has a parameter array.</param>
<param name="text">The text of the function declaration.</param>
<param name="declaringObject">Gets the type that declares this method.</param>
<param name="engine">A reference to the scripting engine.</param>
<summary>Creates a new closure function, using the specified information.</summary>
<returns>A new closure function that represents the function declaration.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.Closure" />
<altmember cref="T:Microsoft.JScript.FunctionObject" />
</Docs>
</Member>
</Members>
</Type>