Function alloy_sol_type_parser::is_valid_identifier
source · pub fn is_valid_identifier<S: AsRef<str>>(s: S) -> boolExpand description
An identifier in Solidity has to start with a letter, a dollar-sign or an underscore and may additionally contain numbers after the first symbol.
https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityLexer.Identifier