Class CheckConformance

java.lang.Object
com.google.javascript.jscomp.CheckConformance
All Implemented Interfaces:
CompilerPass, NodeTraversal.Callback

public final class CheckConformance extends Object implements NodeTraversal.Callback, CompilerPass
Provides a framework for checking code against a set of user configured conformance requirements Requirement. The requirements are specified by the ConformanceConfig proto, which allows for both standard checks (forbidden properties, variables, or dependencies) and allow for more complex checks using requirements of CUSTOM type.

The requirements are translated into rules CheckConformance.Rule which are then checked by this pass.

Conformance violations are both reported as compiler errors, and are also reported separately to the {cI gue@link ErrorManager}