Diagnostic class
診断クラス
コンストラクター
Diagnostic(Range, string, Diagnostic |
Diagnostic クラスの新しいインスタンスを作成します。 |
プロパティ
code | |
message | |
range | |
severity | |
source |
メソッド
to |
現在の Diagnostic オブジェクトを表す文字列を返します。 |
コンストラクターの詳細
Diagnostic(Range, string, DiagnosticSeverity, string, string)
Diagnostic クラスの新しいインスタンスを作成します。
new Diagnostic(range: Range, message: string, severity: DiagnosticSeverity, source?: string, code?: string)
パラメーター
- range
- Range
エラーまたは警告が発生した範囲。
- message
-
string
エラーまたは警告のエラー メッセージ。
- severity
- DiagnosticSeverity
エラーまたは警告の重大度。
- source
-
string
エラーまたは警告の原因が発生しました。
- code
-
string
エラーまたは警告のコードまたは識別子。
プロパティの詳細
code
code: string
プロパティ値
string
message
message: string
プロパティ値
string
range
severity
source
source: string
プロパティ値
string