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

Function compile_symtable

crates/compiler/src/lib.rs:303–310  ·  view source on GitHub ↗
(
    source: &str,
    mode: Mode,
    source_path: &str,
)

Source from the content-addressed store, hash-verified

301}
302
303pub fn compile_symtable(
304 source: &str,
305 mode: Mode,
306 source_path: &str,
307) -> Result<symboltable::SymbolTable, CompileError> {
308 let source_file = SourceFileBuilder::new(source_path, source).finish();
309 _compile_symtable(source_file, mode)
310}
311
312pub fn _compile_symtable(
313 source_file: SourceFile,

Callers 1

symtableFunction · 0.85

Calls 3

newFunction · 0.85
_compile_symtableFunction · 0.85
finishMethod · 0.45

Tested by

no test coverage detected