Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RawDiagnosticParser

Base class for parsing raw diagnostic information on a line-by-line basis

Hierarchy

Index

Properties

Accessors

Methods

Properties

Private _diagnostics

_diagnostics: RawDiagnostic[] = []

Accessors

diagnostics

Methods

Protected Abstract doHandleLine

  • Implement in derived classes to parse a line. Returns a new diagnostic, or undefined if the give line does not complete a diagnostic

    Parameters

    • line: string

      The line to process

    Returns RawDiagnostic | FeedLineResult

handleLine

  • handleLine(line: string): boolean
  • Push another line into the parser

    Parameters

    • line: string

      Another line to parse

    Returns boolean

Generated using TypeDoc