Token

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

Members

Functions

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

Meta