ddmd-experimental ~master (2016-08-29T08:37:18Z)
Dub
Repo
Token
ddmd
tokens
extern (
C
++)
struct
Token {
Token
*
next
;
Loc
loc
;
const
(
char
)*
ptr
;
TOK
value
;
const
(
char
)*
blockComment
;
const
(
char
)*
lineComment
;
Token
*
freelist
;
void
setString
(
const
(
char
)*
ptr
,
size_t
length
)
;
void
setString
(
const
ref
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
(
const
ref
OutBuffer
buf
)
Set to contents of buf
setString
void
setString
()
Set to empty string
Meta
Source
See Implementation
ddmd
tokens
structs
Token