Table of Contents

Class Token

Namespace
StepLang.Tokenizing
Assembly
StepLang.dll
public class Token
Inheritance
Token
Inherited Members

Constructors

Token(TokenType, string, TokenLocation?)

public Token(TokenType type, string value, TokenLocation? location = null)

Parameters

type TokenType
value string
location TokenLocation

Properties

Location

public TokenLocation Location { get; }

Property Value

TokenLocation

StringValue

public string StringValue { get; }

Property Value

string

Type

public TokenType Type { get; }

Property Value

TokenType

Value

public string Value { get; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string