compiler/ast/reports_parser

  Source   Edit

module with parser legacy reports definitions

Types

ParserReport = object of ReportBase
  msg*: string
  found*: string
  case kind*: ReportKind
  of rparInvalidIndentationWithForgotEqualSignHint:
      eqInfo*: TLineInfo

  of rparIdentExpected .. rparMissingToken:
      expected*: seq[string]

  of rparUnexpectedToken:
      expectedKind*: string

  of rparAsmStmtExpectsStrLit:
      nil

  of rparInvalidFilter:
      node*: PNode

  else:
      nil

  
  Source   Edit

Procs

func severity(parser: ParserReport): ReportSeverity {....raises: [], tags: [].}
  Source   Edit