MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / error

Method error

aiscript-vm/src/compiler/codegen.rs:1812–1818  ·  view source on GitHub ↗
(&mut self, message: &str)

Source from the content-addressed store, hash-verified

1810 }
1811
1812 fn error(&mut self, message: &str) {
1813 if self.error_reporter.had_error {
1814 return;
1815 }
1816 self.error_reporter.had_error = true;
1817 eprintln!("[line {}] Error: {}", self.current_line, message);
1818 }
1819
1820 fn error_at_value(&mut self, value: Value<'gc>, message: &str) {
1821 if self.error_reporter.had_error {

Callers 15

generate_exprMethod · 0.45
emit_build_stringMethod · 0.45
patch_jumpMethod · 0.45
emit_loopMethod · 0.45
declarationMethod · 0.45
break_statementMethod · 0.45
continue_statementMethod · 0.45
agent_declarationMethod · 0.45
enum_variantMethod · 0.45
class_declarationMethod · 0.45
func_declarationMethod · 0.45
return_statementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected