Bewerken

Delen via


Token Class

Definition

A unit of significant text on the command line.

public ref class Token : IEquatable<System::CommandLine::Parsing::Token ^>
public value class Token : IEquatable<System::CommandLine::Parsing::Token>
public class Token : IEquatable<System.CommandLine.Parsing.Token>
public readonly struct Token : IEquatable<System.CommandLine.Parsing.Token>
type Token = class
    interface IEquatable<Token>
type Token = struct
Public Class Token
Implements IEquatable(Of Token)
Public Structure Token
Implements IEquatable(Of Token)
Inheritance
Token
Inheritance
Implements

Constructors

Token(String, TokenType, Symbol)

Properties

Type

The type of the token.

Value

The string value of the token.

Methods

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(Token)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(Token, Token)

Checks if two specified Token instances have the same value.

Inequality(Token, Token)

Checks if two specified Token instances have different values.

Applies to