dmd.tokens
Defines lexical tokens
.
Specification: Tokens
License
Source: tokens.d
Documentation: https://dlang.org/phobos/dmd_tokens.html
-
Declaration
struct
Token
;-
Declaration
nothrow void
setString
(const(char)*ptr
, size_tlength
);Set to contents of
ptr
[0..length
]Parameters
const(char)*
ptr
pointer to string
size_t
length
length
of string -
Declaration
nothrow void
setString
(ref const OutBufferbuf
);Set to contents of
buf
Parameters
OutBuffer
buf
string (not zero terminated)
-
Declaration
nothrow void
setString
();Set to empty string
-