(
program: &ast::ModModule,
source_file: SourceFile,
)
| 102 | } |
| 103 | |
| 104 | pub fn scan_program( |
| 105 | program: &ast::ModModule, |
| 106 | source_file: SourceFile, |
| 107 | ) -> SymbolTableResult<Self> { |
| 108 | let mut builder = SymbolTableBuilder::new(source_file); |
| 109 | builder.scan_statements(program.body.as_ref())?; |
| 110 | builder.finish() |
| 111 | } |
| 112 | |
| 113 | pub fn scan_expr( |
| 114 | expr: &ast::ModExpression, |
nothing calls this directly
no test coverage detected