Rust: rename TypeRef -> TypeRepr

This commit is contained in:
Paolo Tranquilli
2024-12-02 17:58:40 +01:00
parent 0a93a31565
commit e89cf303e7
259 changed files with 2360 additions and 2330 deletions

View File

@@ -20,7 +20,7 @@ fn class_name(type_name: &str) -> String {
"ElseBranch" => "Expr".to_owned(),
"Fn" => "Function".to_owned(),
"Literal" => "LiteralExpr".to_owned(),
_ if type_name.ends_with("Type") => format!("{}Ref", type_name),
_ if type_name.ends_with("Type") => format!("{}Repr", type_name),
_ => type_name.to_owned(),
}
}