[I] DiagnosticCreator
Type Parameters
| Type Parameter | 
|---|
| Textendsobject | 
Properties
| Property | Modifier | Type | 
|---|---|---|
| diagnostics | readonly | DiagnosticMap<T> | 
| type | readonly | T | 
Methods
createDiagnostic()
createDiagnostic<C, M>(diag): Diagnostic;Type Parameters
| Type Parameter | Default type | 
|---|---|
| Cextendsstring|number|symbol | - | 
| Mextendsstring|number|symbol | "default" | 
Parameters
| Parameter | Type | 
|---|---|
| diag | DiagnosticReport<T,C,M> | 
Returns
reportDiagnostic()
reportDiagnostic<C, M>(program, diag): void;Type Parameters
| Type Parameter | Default type | 
|---|---|
| Cextendsstring|number|symbol | - | 
| Mextendsstring|number|symbol | "default" | 
Parameters
| Parameter | Type | 
|---|---|
| program | Program | 
| diag | DiagnosticReport<T,C,M> | 
Returns
void