 The CFG and AST are then visited by a number of defined rules.Violations of any rule are reported to the user as Errors, Warnings, or Hints.Each rule violation reports precisely which rule was violated.