ddc ~master (2020-05-01T11:40:35Z)
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
(
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
dmd
tokens
structs
Token