public class NoUndefinedVariables extends AbstractRule
Constructor and Description |
---|
NoUndefinedVariables(ValidationContext validationContext,
ValidationErrorCollector validationErrorCollector) |
Modifier and Type | Method and Description |
---|---|
void |
checkFragmentDefinition(FragmentDefinition fragmentDefinition) |
void |
checkOperationDefinition(OperationDefinition operationDefinition) |
void |
checkVariable(VariableReference variableReference) |
void |
checkVariableDefinition(VariableDefinition variableDefinition) |
addError, addError, addError, checkArgument, checkDirective, checkDocument, checkField, checkFragmentSpread, checkInlineFragment, checkSelectionSet, checkTypeName, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, i18n, i18n, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
public NoUndefinedVariables(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
public void checkOperationDefinition(OperationDefinition operationDefinition)
checkOperationDefinition
in class AbstractRule
public void checkFragmentDefinition(FragmentDefinition fragmentDefinition)
checkFragmentDefinition
in class AbstractRule
public void checkVariable(VariableReference variableReference)
checkVariable
in class AbstractRule
public void checkVariableDefinition(VariableDefinition variableDefinition)
checkVariableDefinition
in class AbstractRule