MCPcopy Index your code
hub / github.com/RustPython/RustPython / scan_ann_assign_annotation

Method scan_ann_assign_annotation

crates/codegen/src/symboltable.rs:1253–1255  ·  view source on GitHub ↗

Scan an annotation from an AnnAssign statement (can be conditional)

(&mut self, annotation: &ast::Expr)

Source from the content-addressed store, hash-verified

1251
1252 /// Scan an annotation from an AnnAssign statement (can be conditional)
1253 fn scan_ann_assign_annotation(&mut self, annotation: &ast::Expr) -> SymbolTableResult {
1254 self.scan_annotation_inner(annotation, true)
1255 }
1256
1257 fn scan_annotation_inner(
1258 &mut self,

Callers 1

scan_statementMethod · 0.80

Calls 1

scan_annotation_innerMethod · 0.80

Tested by

no test coverage detected