pub fn ct_token_map<StorageT: Display + ToTokens>(
mod_name: &str,
token_map: impl Borrow<HashMap<String, StorageT>>,
rename_map: Option<&HashMap<&str, &str>>,
) -> Result<(), Box<dyn Error>>👎Deprecated since 0.14.0: use
lrlex::CTTokenMapBuilder insteadExpand description
Create a Rust module named mod_name that can be imported with
lrlex_mod!(mod_name).
This function is deprecated in favour of CTTokenMapBuilder.