CodeSpecsCheck class abstract

One codespecs_derivation_contract.md §6 check.

Implementers

Constructors

CodeSpecsCheck()
Creates a check.
const

Properties

definedIn → String
The section that defines the rule, in the same two forms CodeSpecsViolation.definedIn takes.
no setter
hashCode → int
The hash code for this object.
no setterinherited
number → int
The codespecs_derivation_contract.md §6 row number.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
The rule, in one line — the codespecs_derivation_contract.md §6 row text.
no setter

Methods

fail(String message, [CsLocation? at, String? token, String? area]) → CodeSpecsViolation
Builds a violation attributed to this check.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(CodeSpecsValidationInput input) → List<CodeSpecsViolation>
Runs the check, returning one violation per breach.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited