compiler/ast/reports_cmd

  Source   Edit

module with CLI legacy reports definitions

TODO: even though it's legacy, it's highly unlike that this should be
included in the ast package

Types

CmdReport = object of ReportBase
  cmd*: string
  msg*: string
  code*: int
  case kind*: ReportKind
  of rcmdFailedExecution:
      exitOut*, exitErr*: string

  else:
      nil

  
  Source   Edit

Procs

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