public final class SoyConformance extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
check(SoyFileNode file,
ErrorReporter errorReporter)
Performs the overall check.
|
static SoyConformance |
create(ValidatedConformanceConfig conformanceConfig)
Returns a new SoyConformance object that enforces the rules in the given configs
|
public static SoyConformance create(ValidatedConformanceConfig conformanceConfig)
The config files are expected to be text protos of type ConformanceConfig.
public void check(SoyFileNode file, ErrorReporter errorReporter)