Checkerはローカルのerror関数を使用してエラーを報告します。下記がその関数です:
error
function error(location: Node, message: DiagnosticMessage, arg0?: any, arg1?: any, arg2?: any): void { let diagnostic = location ? createDiagnosticForNode(location, message, arg0, arg1, arg2) : createCompilerDiagnostic(message, arg0, arg1, arg2); diagnostics.add(diagnostic); }
最終更新 2 年前
役に立ちましたか?