dmildew ~master (2021-03-01T20:12:39.6103621)
Dub
Repo
Token.isKeyword
mildew
lexer
Token
Returns true if a token is both a keyword and a specific keyword.
struct
Token
const
bool
isKeyword
(
in
string
keyword
)
Meta
Source
See Implementation
mildew
lexer
Token
enums
LiteralFlag
Type
functions
isAssignmentOperator
isIdentifier
isKeyword
symbol
toString
static functions
createFakeToken
createInvalidToken
variables
literalFlag
position
text
type
Returns true if a token is both a keyword and a specific keyword.