☰
In rustc_lexer
In rustc_lexer
Modules
cursor
unescape
Structs
Token
Enums
Base
DocStyle
LiteralKind
RawStrError
TokenKind
Functions
first_token
is_id_continue
is_id_start
is_ident
is_whitespace
strip_shebang
tokenize
validate_raw_str
?
Function
rustc_lexer
::
is_ident
source
·
[
−
]
pub fn is_ident(string: &
str
) ->
bool
Expand description
The passed string is lexically an identifier.