Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.tokens

Compiler implementation of the D programming language.
Authors:

Source tokens.d

struct Token;
final void setString(const(char)* ptr, size_t length);
Set to contents of ptr[0..length]
Parameters:
const(char)* ptr pointer to string
size_t length length of string
final void setString(ref const OutBuffer buf);
Set to contents of buf
Parameters:
OutBuffer buf string (not zero terminated)
final void setString();
Set to empty string