DLexer

The D lexer struct.

Constructors

this
this()
this
this(R range, LexerConfig config, StringCache* cache, bool haveSSE42)

Members

Functions

messages
const(Message[]) messages()
popFront
void popFront()

Mixins

__anonymous
mixin Lexer!(Token, lexIdentifier, isSeparating, operators, dynamicTokens, keywords, pseudoTokenHandlers)
Undocumented in source.

Structs

Message
struct Message

Lexer error/warning message.

Mixed In Members

From mixin Lexer!(Token, lexIdentifier, isSeparating, operators, dynamicTokens, keywords, pseudoTokenHandlers)

generateMask
string generateMask(ubyte[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
front
const(Token) front()

Implements the range primitive front.

_popFront
void _popFront()

Advances the lexer to the next token and stores the new current token in the _front variable.

empty
bool empty()

Implements the range primitive empty.

escape
string escape(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenSearch
enum tokenSearch;
Undocumented in source.
getFront
ulong getFront(ubyte[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
advance
void advance(Token token)
Undocumented in source. Be warned that the author may not have intended to support it.
range
LexerRange range;

The lexer input.

_front
Token _front;

The token that is currently at the front of the range.

Meta