Class ProtocolToMonacoConverter
Hierarchy
- ProtocolToMonacoConverter
Methods
asDiagnostic
- asDiagnostic(diagnostic: Diagnostic): IMarkerData
Parameters
Returns IMarkerData
asDiagnostics
- asDiagnostics(diagnostics: undefined): undefined
- asDiagnostics(diagnostics: Diagnostic[]): IMarkerData[]
- asDiagnostics(diagnostics: undefined | Diagnostic[]): undefined | IMarkerData[]
Parameters
Returns undefined
Parameters
diagnostics: Diagnostic[]
Returns IMarkerData[]
Parameters
diagnostics: undefined | Diagnostic[]
Returns undefined | IMarkerData[]
asLocation
- asLocation(item: Location): Location
- asLocation(item: undefined): undefined
- asLocation(item: undefined | Location): undefined | Location
Parameters
Returns Location
Parameters
Returns undefined
Parameters
item: undefined | Location
Returns undefined | Location
asPosition
- asPosition(position: undefined): undefined
- asPosition(position: Position): Position
- asPosition(position: undefined | Position): undefined | Position
- asPosition(position: Partial<Position>): Partial<IPosition>
- asPosition(position: undefined | Partial<Position>): undefined | Position | Partial<IPosition>
Parameters
Returns undefined
Parameters
Returns Position
Parameters
position: undefined | Position
Returns undefined | Position
Parameters
position: Partial<Position>
Returns Partial<IPosition>
Parameters
position: undefined | Partial<Position>
Returns undefined | Position | Partial<IPosition>
asRange
- asRange(range: undefined): undefined
- asRange(range: Range): Range
- asRange(range: undefined | Range): undefined | Range
- asRange(range: RecursivePartial<Range>): Partial<IRange>
- asRange(range: undefined | RecursivePartial<Range>): undefined | Range | Partial<IRange>
Parameters
Returns undefined
Parameters
Returns Range
Parameters
Returns undefined | Range
Parameters
range: RecursivePartial<Range>
Returns Partial<IRange>
Parameters
range: undefined | RecursivePartial<Range>
Returns undefined | Range | Partial<IRange>
asRelatedInformation
- asRelatedInformation(relatedInformation: DiagnosticRelatedInformation): IRelatedInformation
Parameters
relatedInformation: DiagnosticRelatedInformation
Returns IRelatedInformation
asRelatedInformations
- asRelatedInformations(relatedInformation?: DiagnosticRelatedInformation[]): undefined | IRelatedInformation[]
Parameters
Optional relatedInformation: DiagnosticRelatedInformation[]
Returns undefined | IRelatedInformation[]
asSeverity
- asSeverity(severity?: number): MarkerSeverity
Parameters
Optional severity: number
Returns MarkerSeverity
asTextEdit
- asTextEdit(edit: TextEdit): TextEdit
- asTextEdit(edit: undefined): undefined
- asTextEdit(edit: undefined | TextEdit): undefined
Parameters
Returns TextEdit
Parameters
Returns undefined
Parameters
edit: undefined | TextEdit
Returns undefined
asTextEdits
- asTextEdits(items: TextEdit[]): TextEdit[]
- asTextEdits(items: undefined): undefined
- asTextEdits(items: undefined | TextEdit[]): undefined | TextEdit[]
Parameters
Returns TextEdit[]
Parameters
Returns undefined
Parameters
items: undefined | TextEdit[]
Returns undefined | TextEdit[]