libdparse ~master (2021-07-28T12:46:13Z)
Dub
Repo
DLexer
dparse
lexer
The D lexer struct.
struct
DLexer {
mixin
Lexer
!(
Token
,
lexIdentifier
,
isSeparating
,
operators
,
dynamicTokens
,
keywords
,
pseudoTokenHandlers
)
;
this
();
this
(R range, LexerConfig config, StringCache* cache, bool haveSSE42);
void
popFront
();
struct
Message
;
const
(
Message
[])
messages
();
}
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.
Meta
Source
See Implementation
dparse
lexer
aliases
BasicTypes
IdType
IntegerLiterals
Keywords
Literals
NumberLiterals
Operators
Protections
SpecialTokens
StringLiterals
Token
str
enums
CommentBehavior
WhitespaceBehavior
functions
byToken
getTokensForParser
isBasicType
isIntegerLiteral
isKeyword
isLiteral
isNumberLiteral
isOperator
isProtection
isSpecialToken
isStringLiteral
optimalBucketCount
rangeMatch
skip
mixin templates
TokenTriviaFields
structs
DLexer
LexerConfig
StringBehavior
StringCache
templates
ByteCombine
tok
The D lexer struct.