dmildew v0.5.6 (2021-02-22T01:27:01Z)
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.