is_valid_ident

Function is_valid_ident 

Source
pub fn is_valid_ident(token: &str) -> bool
Expand description

Determines whether the provided token is a valid hyperactor identifier.

Valid hyperactor identifiers are Rust identifier, excluding raw identifiers. Additionally, we allow double colon (“::”) to appear anywhere.