MCPcopy Create free account
hub / github.com/Glyphack/enderpy / get_name

Method get_name

parser/src/ast.rs:1075–1081  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1073
1074impl TypeParam {
1075 pub fn get_name(&self) -> String {
1076 match self {
1077 TypeParam::TypeVar(t) => t.name.clone(),
1078 TypeParam::ParamSpec(p) => p.name.clone(),
1079 TypeParam::TypeVarTuple(t) => t.name.clone(),
1080 }
1081 }
1082}
1083
1084// https://docs.python.org/3/library/ast.html#ast.TypeVar

Callers 4

print_symbol_table_infoFunction · 0.80
visit_function_defMethod · 0.80
visit_class_defMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected