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

Method error

crates/codegen/src/compile.rs:717–719  ·  view source on GitHub ↗
(&mut self, error: CodegenErrorType)

Source from the content-addressed store, hash-verified

715 }
716
717 fn error(&mut self, error: CodegenErrorType) -> CodegenError {
718 self.error_ranged(error, self.current_source_range)
719 }
720
721 fn error_ranged(&mut self, error: CodegenErrorType, range: TextRange) -> CodegenError {
722 let location = self

Callers 15

compile_subscriptMethod · 0.45
push_symbol_tableMethod · 0.45
load_args_for_superMethod · 0.45
enter_scopeMethod · 0.45
push_fblock_fullMethod · 0.45
unwind_fblock_stackMethod · 0.45
compile_nameMethod · 0.45
compile_statementMethod · 0.45
compile_deleteMethod · 0.45
make_closureMethod · 0.45
compile_withMethod · 0.45

Calls 1

error_rangedMethod · 0.80

Tested by

no test coverage detected