saealib.core.compiler.Diagnostic#

class saealib.core.compiler.Diagnostic(*, severity, code, message, path, related=(), resolutions=())[ソース]#

ベースクラス: object

A structured compiler finding attached to a contract path.

パラメータ:
  • severity (Severity)

  • code (str)

  • message (str)

  • path (ContractPath)

  • related (tuple[ContractPath, ...])

  • resolutions (tuple[str, ...])

Methods

Method Details

Diagnostic.__init__(*, severity, code, message, path, related=(), resolutions=())#
パラメータ:
  • severity (Severity)

  • code (str)

  • message (str)

  • path (ContractPath)

  • related (tuple[ContractPath, ...])

  • resolutions (tuple[str, ...])

戻り値の型:

None