Token Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 15 of System.Lex/Token.cm

Constructors & Destructor

public Token()
public Token(long id_)
public Token(long id_, const Lexeme& match_, int line_)

Member Functions

public inline uchar Chr() const
public inline String<uchar> ToString() const

Member Variables

public long id
public int line
public Lexeme match

Constructor& Destructor Details

Token Constructor

public Token()

Definition
Line 17 of System.Lex/Token.cm


Token Constructor

public Token(long id_)

Definition
Line 20 of System.Lex/Token.cm


Token Constructor

public Token(long id_, const Lexeme& match_, int line_)

Definition
Line 23 of System.Lex/Token.cm


Member Function Details

Chr Member Function

public inline uchar Chr()

Definition
Line 30 of System.Lex/Token.cm


ToString Member Function

public inline String<uchar> ToString()

Definition
Line 26 of System.Lex/Token.cm