Unosquare
    Show / Hide Table of Contents

    Struct Token

    Represents a Token structure.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Swan.Parsers
    Syntax
    public struct Token

    Constructors

    Token(TokenType, String)

    Initializes a new instance of the Token struct.

    Declaration
    public Token(TokenType type, string value)
    Parameters
    Type Name Description
    TokenType type

    The type.

    String value

    The value.

    Properties

    Type

    Gets or sets the type.

    Declaration
    public TokenType Type { get; set; }
    Property Value
    Type Description
    TokenType

    The type.

    Value

    Gets the value.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    String

    The value.

    Comments

    Back to top Copyright © 2017-2019 Unosquare