dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
Token
dmd
tokens
extern (
C
++)
struct
Token {
Token
*
next
;
Loc
loc
;
const
(
char
)*
ptr
;
TOK
value
;
const
(
char
)[]
blockComment
;
const
(
char
)[]
lineComment
;
void
setString
(const(char)* ptr, size_t length);
void
setString
(OutBuffer buf);
void
setString
();
}
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
Source
See Implementation
dmd
tokens
enums
EXP
functions
writeCharLiteral
writeSingleCharLiteral
static variables
Ckeywords
structs
Token