rustc_
lexer
1.85.0
(4d91de4e4 2025-02-17)
Modules
cursor
unescape
Structs
Cursor
GuardedStr
Token
Enums
Base
DocStyle
LiteralKind
RawStrError
TokenKind
Constants
UNICODE_XID_VERSION
Functions
is_id_continue
is_id_start
is_ident
is_whitespace
strip_shebang
tokenize
validate_raw_str
rustc_lexer
Function
is_ident
Copy item path
Settings
Help
Summary
Source
pub fn is_ident(string: &
str
) ->
bool
Expand description
The passed string is lexically an identifier.