public class KnownDirectives extends AbstractRule
Constructor and Description |
---|
KnownDirectives(ValidationContext validationContext,
ValidationErrorCollector validationErrorCollector) |
Modifier and Type | Method and Description |
---|---|
void |
checkDirective(Directive directive,
java.util.List<Node> ancestors) |
addError, addError, addError, checkArgument, checkDocument, checkField, checkFragmentDefinition, checkFragmentSpread, checkInlineFragment, checkOperationDefinition, checkSelectionSet, checkTypeName, checkVariable, checkVariableDefinition, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
public KnownDirectives(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
public void checkDirective(Directive directive, java.util.List<Node> ancestors)
checkDirective
in class AbstractRule