W3cubDocs

/D

dmd.tokens

Compiler implementation of the D programming language.

Authors:
Walter Bright
License:
Boost License 1.0
Source
tokens.d
Documentation
https://dlang.org/phobos/dmd_tokens.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tokens.d
struct Token;
nothrow 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
nothrow void setString(ref const OutBuffer buf);

Set to contents of buf

Parameters:
OutBuffer buf string (not zero terminated)
nothrow void setString();

Set to empty string

© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_tokens.html