Token

Members

Functions

free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
isKeyword
int isKeyword()
Undocumented in source. Be warned that the author may not have intended to support it.
print
void print()
Undocumented in source. Be warned that the author may not have intended to support it.
setString
void setString(const(char)* ptr, size_t length)

Set to contents of ptr[0..length]

setString
void setString(OutBuffer buf)

Set to contents of buf

setString
void setString()

Set to empty string

toChars
const(char)* toChars()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

alloc
Token* alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
toChars
const(char)* toChars(TOK value)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(TOK value)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

freelist
Token* freelist;
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

blockComment
const(char)* blockComment;
Undocumented in source.
lineComment
const(char)* lineComment;
Undocumented in source.
loc
Loc loc;
Undocumented in source.
next
Token* next;
Undocumented in source.
ptr
const(char)* ptr;
Undocumented in source.
value
TOK value;
Undocumented in source.

Meta