Table of Contents

Class Token

Namespace
MonoGame.Effect.TPGParser
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class Token
Inheritance
Token
Inherited Members

Constructors

Token()

public Token()

Token(int, int)

public Token(int start, int end)

Parameters

start int
end int

Fields

Type

public TokenType Type

Field Value

TokenType

Properties

Column

public int Column { get; set; }

Property Value

int

EndPos

public int EndPos { get; set; }

Property Value

int

File

public string File { get; set; }

Property Value

string

Length

public int Length { get; }

Property Value

int

Line

public int Line { get; set; }

Property Value

int

Skipped

public List<Token> Skipped { get; set; }

Property Value

List<Token>

StartPos

public int StartPos { get; set; }

Property Value

int

Text

public string Text { get; set; }

Property Value

string

Value

public object Value { get; set; }

Property Value

object

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

UpdateRange(Token)

public void UpdateRange(Token token)

Parameters

token Token