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