TokenStructure.this - multiple declarations

Function TokenStructure.this

Constructs a token from a token type.

this (
  IdType type
);

Parameters

NameDescription
type the token type

Function TokenStructure.this

Constructs a token.

this (
  IdType type,
  string text,
  size_t line,
  size_t column,
  size_t index
);

Parameters

NameDescription
type the token type
text the text of the token, which may be null
line the line number at which this token occurs, 1-based
column the column number at which this token occurs, 1-based
index the byte offset from the beginning of the input at which this token occurs, 0-based