MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / is_identifier

Method is_identifier

crates/sith_python_parser/src/token.rs:324–326  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

322 /// Returns `true` if the token is an identifier ([`TokenKind::Name`] token).
323 #[inline]
324 pub fn is_identifier(&self) -> bool {
325 matches!(self, TokenKind::Name) || self.is_soft_keyword()
326 }
327
328 #[inline]
329 pub const fn is_operator(self) -> bool {

Callers 1

parse_dotted_nameMethod · 0.80

Calls 1

is_soft_keywordMethod · 0.80

Tested by

no test coverage detected