dmd.tokens

Defines lexical tokens.

Specification: Tokens

Members

Enums

EXP
enum EXP

Expression nodes

Functions

writeCharLiteral
void writeCharLiteral(OutBuffer buf, dchar c)

Write a character, using a readable escape sequence if needed

writeSingleCharLiteral
void writeSingleCharLiteral(OutBuffer buf, dchar c)

Write a single-quoted character literal

Static variables

Ckeywords
TOK[TOK.max + 1] Ckeywords;

This is used to pick the C keywords out of the tokens. If it's not a C keyword, then it's an identifier.

Structs

Token
struct Token

Meta