Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ProblemUtils

Index

Functions

  • columnNumberCompare(a: Marker<Diagnostic>, b: Marker<Diagnostic>): number
  • filterMarker(marker: Marker<Diagnostic>): boolean
  • getColor(marker: Marker<Diagnostic>): string
  • getPriority(marker: Marker<Diagnostic>): number
  • lineNumberCompare(a: Marker<Diagnostic>, b: Marker<Diagnostic>): number
  • ownerCompare(a: Marker<Diagnostic>, b: Marker<Diagnostic>): number
  • severityCompare(a: undefined | DiagnosticSeverity, b: undefined | DiagnosticSeverity): number
  • Comparator for severity.

    • The highest severity (error) come first followed by others.
    • undefined severities are treated as the last ones.

    Parameters

    • a: undefined | DiagnosticSeverity

      the first severity for comparison.

    • b: undefined | DiagnosticSeverity

      the second severity for comparison.

    Returns number

  • severityCompareMarker(a: Marker<Diagnostic>, b: Marker<Diagnostic>): number