code: public void addError(String message, DiagnosticPosition pos) {
  		ast.printMessage(Diagnostic.Kind.ERROR, message, null, pos, true);
  	}
docs: Generates an compiler error focused on the AST node represented by this node object.