Token

A source code token.

The source can contain invalid UTF-8 chars therefor every token has to be validated. Otherwise it isn't possible to generate a report.

Constructors

this
this(CXTokenKind kind, Offset offset, SourceLoc loc, SourceLoc locEnd, string spelling)
Undocumented in source.

Members

Functions

opCmp
int opCmp(typeof(this) s)
Undocumented in source. Be warned that the author may not have intended to support it.
toId
string toId()
Undocumented in source. Be warned that the author may not have intended to support it.
toName
string toName()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

kind
CXTokenKind kind;
Undocumented in source.
loc
SourceLoc loc;
Undocumented in source.
locEnd
SourceLoc locEnd;
Undocumented in source.
offset
Offset offset;
Undocumented in source.
spelling
string spelling;
Undocumented in source.

Meta