Token

extern (C++)
struct Token {
Token* next;
Loc loc;
const(char)* ptr;
TOK value;
const(char)* blockComment;
const(char)* lineComment;
Token* freelist;
}

Members

Functions

setString
void setString(const(char)* ptr, size_t length)

Set to contents of ptr[0..length]

setString
void setString(const ref OutBuffer buf)

Set to contents of buf

setString
void setString()

Set to empty string

Meta