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

Method scan_annotation

crates/codegen/src/symboltable.rs:1248–1250  ·  view source on GitHub ↗
(&mut self, annotation: &ast::Expr)

Source from the content-addressed store, hash-verified

1246 }
1247
1248 fn scan_annotation(&mut self, annotation: &ast::Expr) -> SymbolTableResult {
1249 self.scan_annotation_inner(annotation, false)
1250 }
1251
1252 /// Scan an annotation from an AnnAssign statement (can be conditional)
1253 fn scan_ann_assign_annotation(&mut self, annotation: &ast::Expr) -> SymbolTableResult {

Callers 2

scan_statementMethod · 0.80

Calls 1

scan_annotation_innerMethod · 0.80

Tested by

no test coverage detected