libdparse ~master (2021-07-28T12:46:13Z)
Dub
Repo
byToken
dparse
lexer
Creates a token range from the given source code. Uses the given string cache.
auto
byToken
(R range)
auto
byToken
(R range, StringCache* cache)
auto
byToken
(
R
)
(
R
range
,
StringCache
*
cache
)
if
(
is
(
Unqual
!(
ElementEncodingType
!
R
) :
ubyte
) &&
isDynamicArray
!
R
)
auto
byToken
(R range, LexerConfig config, StringCache* cache)
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
Creates a token range from the given source code. Uses the given string cache.