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

Method name

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

Source from the content-addressed store, hash-verified

230
231impl Alias {
232 pub fn name(&self) -> String {
233 if let Some(asname) = &self.asname {
234 asname.clone()
235 } else {
236 self.name.clone()
237 }
238 }
239}
240
241// https://docs.python.org/3/library/ast.html#ast.ImportFrom

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected