Repository navigation
Expand file tree
/
Copy pathCmdLineOptionParser.xml
More file actions
225 lines (225 loc) · 13.9 KB
/
Copy pathCmdLineOptionParser.xml
File metadata and controls
225 lines (225 loc) · 13.9 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<Type Name="CmdLineOptionParser" FullName="Microsoft.JScript.CmdLineOptionParser">
<TypeSignature Language="C#" Value="public class CmdLineOptionParser" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CmdLineOptionParser extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.JScript.CmdLineOptionParser" />
<TypeSignature Language="VB.NET" Value="Public Class CmdLineOptionParser" />
<TypeSignature Language="C++ CLI" Value="public ref class CmdLineOptionParser" />
<TypeSignature Language="F#" Value="type CmdLineOptionParser = class" />
<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>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Determines whether options that are specified to the command-line compiler jsc.exe are correctly formed, and reads the arguments if any are included.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CmdLineOptionParser ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 CmdLineOptionParser();" />
<MemberType>Constructor</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>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:Microsoft.JScript.CmdLineOptionParser" /> class.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<MemberGroup MemberName="IsArgumentOption">
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the argument from a command-line option that accepts an argument, such as <c>/r[eference]:&lt;file list&gt;</c>.</summary>
</Docs>
</MemberGroup>
<Member MemberName="IsArgumentOption">
<MemberSignature Language="C#" Value="public static string IsArgumentOption (string option, string prefix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string IsArgumentOption(string option, string prefix) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.IsArgumentOption(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsArgumentOption (option As String, prefix As String) As String" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ IsArgumentOption(System::String ^ option, System::String ^ prefix);" />
<MemberSignature Language="F#" Value="static member IsArgumentOption : string * string -> string" Usage="Microsoft.JScript.CmdLineOptionParser.IsArgumentOption (option, prefix)" />
<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>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
<Parameter Name="prefix" Type="System.String" />
</Parameters>
<Docs>
<param name="option">The command-line option that the user specified.</param>
<param name="prefix">The option name.</param>
<summary>Gets the argument from the specified command-line option. Applies to options that have only one name, such as <c>/out:<filename></c>.</summary>
<returns>The argument, "" if the argument is not specified, or null if the option or argument is not correctly formed.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<Member MemberName="IsArgumentOption">
<MemberSignature Language="C#" Value="public static string IsArgumentOption (string option, string shortPrefix, string longPrefix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string IsArgumentOption(string option, string shortPrefix, string longPrefix) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.IsArgumentOption(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsArgumentOption (option As String, shortPrefix As String, longPrefix As String) As String" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ IsArgumentOption(System::String ^ option, System::String ^ shortPrefix, System::String ^ longPrefix);" />
<MemberSignature Language="F#" Value="static member IsArgumentOption : string * string * string -> string" Usage="Microsoft.JScript.CmdLineOptionParser.IsArgumentOption (option, shortPrefix, longPrefix)" />
<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>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
<Parameter Name="shortPrefix" Type="System.String" />
<Parameter Name="longPrefix" Type="System.String" />
</Parameters>
<Docs>
<param name="option">The command-line option that the user specified.</param>
<param name="shortPrefix">The short form of the option name.</param>
<param name="longPrefix">The long form of the option name.</param>
<summary>Gets the argument from the specified command-line option. Applies to options that can be specified by a short or long form of the option name, such as <c>/r</c> or <c>/reference</c> for <c>/r[eference]:<file list></c>.</summary>
<returns>The argument, "" if the argument is not specified, or null if the option or argument is not correctly formed.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<MemberGroup MemberName="IsBooleanOption">
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the argument from a command-line option that accepts a <c>+</c> or <c>-</c> switch argument, such as <c>/debug[+|-]</c>.</summary>
</Docs>
</MemberGroup>
<Member MemberName="IsBooleanOption">
<MemberSignature Language="C#" Value="public static object IsBooleanOption (string option, string prefix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object IsBooleanOption(string option, string prefix) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.IsBooleanOption(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsBooleanOption (option As String, prefix As String) As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Object ^ IsBooleanOption(System::String ^ option, System::String ^ prefix);" />
<MemberSignature Language="F#" Value="static member IsBooleanOption : string * string -> obj" Usage="Microsoft.JScript.CmdLineOptionParser.IsBooleanOption (option, prefix)" />
<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>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
<Parameter Name="prefix" Type="System.String" />
</Parameters>
<Docs>
<param name="option">The command-line option that the user specified.</param>
<param name="prefix">The option name.</param>
<summary>Gets the <c>+</c> or <c>-</c> argument from the specified command-line option. Applies to options that have only one name, such as <c>/debug[+|-]</c>.</summary>
<returns>
<see langword="false" /> for <c>-</c>; <see langword="true" /> for <c>+</c> or if the argument is not specified; null if the option or argument is not correctly formed.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<Member MemberName="IsBooleanOption">
<MemberSignature Language="C#" Value="public static object IsBooleanOption (string option, string shortPrefix, string longPrefix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object IsBooleanOption(string option, string shortPrefix, string longPrefix) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.IsBooleanOption(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsBooleanOption (option As String, shortPrefix As String, longPrefix As String) As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Object ^ IsBooleanOption(System::String ^ option, System::String ^ shortPrefix, System::String ^ longPrefix);" />
<MemberSignature Language="F#" Value="static member IsBooleanOption : string * string * string -> obj" Usage="Microsoft.JScript.CmdLineOptionParser.IsBooleanOption (option, shortPrefix, longPrefix)" />
<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>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
<Parameter Name="shortPrefix" Type="System.String" />
<Parameter Name="longPrefix" Type="System.String" />
</Parameters>
<Docs>
<param name="option">The command-line option that the user specified.</param>
<param name="shortPrefix">The short form of the option name.</param>
<param name="longPrefix">The long form of the option name.</param>
<summary>Gets the <c>+</c> or <c>-</c> argument from the specified command-line option. Applies to options that can be specified by a short or long form of the option name.</summary>
<returns>
<see langword="false" /> for <c>-</c>; <see langword="true" /> for <c>+</c> or if the argument is not specified; null if the option or argument is not correctly formed.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
<Member MemberName="IsSimpleOption">
<MemberSignature Language="C#" Value="public static bool IsSimpleOption (string option, string prefix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsSimpleOption(string option, string prefix) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.CmdLineOptionParser.IsSimpleOption(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsSimpleOption (option As String, prefix As String) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsSimpleOption(System::String ^ option, System::String ^ prefix);" />
<MemberSignature Language="F#" Value="static member IsSimpleOption : string * string -> bool" Usage="Microsoft.JScript.CmdLineOptionParser.IsSimpleOption (option, prefix)" />
<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>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
<Parameter Name="prefix" Type="System.String" />
</Parameters>
<Docs>
<param name="option">The command-line option that the user specified.</param>
<param name="prefix">The option name.</param>
<summary>Verifies that the specified option is correctly formed.</summary>
<returns>
<see langword="true" /> if the option is correctly formed; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
</Docs>
</Member>
</Members>
</Type>