![]() |
BadScript 2
|
Base type of all errors related to bad token detection. More...
Public Member Functions | |
bool | Equals (TokenError other) |
Returns a value that indicates whether the current instance and a specified CommandLine.TokenError have the same value. | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current System.Object. | |
override int | GetHashCode () |
Serves as a hash function for a particular type. | |
![]() | |
bool | Equals (Error other) |
Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value. | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current System.Object. | |
override int | GetHashCode () |
Serves as a hash function for a particular type. | |
Package Functions | |
TokenError (ErrorType tag, string token) | |
Initializes a new instance of the CommandLine.TokenError class. | |
![]() | |
Error (ErrorType tag, bool stopsProcessing) | |
Initializes a new instance of the CommandLine.Error class. | |
Error (ErrorType tag) | |
Initializes a new instance of the CommandLine.Error class. | |
Properties | |
string | Token [get] |
The string containing the token text. | |
![]() | |
ErrorType | Tag [get] |
Error type discriminator, defined as CommandLine.ErrorType enumeration. | |
bool | StopsProcessing [get] |
Tells if error stops parsing process. Filtered by CommandLine.ErrorExtensions.OnlyMeaningfulOnes(System.Collections.Generic.IEnumerable<Error>). | |
|
package |
Initializes a new instance of the CommandLine.TokenError class.
tag | Error type. |
token | Problematic token. |
Definition at line 208 of file Error.cs.
override bool CommandLine.TokenError.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current System.Object.
obj | The System.Object to compare with the current System.Object. |
if the specified System.Object is equal to the current System.Object; otherwise,
false
Definition at line 260 of file Error.cs.
bool CommandLine.TokenError.Equals | ( | TokenError | other | ) |
Returns a value that indicates whether the current instance and a specified CommandLine.TokenError have the same value.
other | The CommandLine.TokenError instance to compare. |
if this instance of CommandLine.TokenError and other have the same value; otherwise,
false
Definition at line 238 of file Error.cs.
override int CommandLine.TokenError.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
A hash code for the current System.Object.
Definition at line 276 of file Error.cs.
|
get |