Class RulesVisitor

    • Field Detail

      • allRules

        private final java.util.List<AbstractRule> allRules
      • currentRules

        private java.util.List<AbstractRule> currentRules
      • visitedFragmentSpreads

        private final java.util.Set<java.lang.String> visitedFragmentSpreads
      • fragmentSpreadVisitRules

        private final java.util.List<AbstractRule> fragmentSpreadVisitRules
      • nonFragmentSpreadRules

        private final java.util.List<AbstractRule> nonFragmentSpreadRules
      • operationScope

        private boolean operationScope
      • fragmentSpreadVisitDepth

        private int fragmentSpreadVisitDepth
    • Method Detail

      • filterRulesVisitingFragmentSpreads

        private java.util.List<AbstractRule> filterRulesVisitingFragmentSpreads​(java.util.List<AbstractRule> rules,
                                                                                boolean isVisitFragmentSpreads)
      • checkDocument

        private void checkDocument​(Document node)
      • checkArgument

        private void checkArgument​(Argument node)
      • checkTypeName

        private void checkTypeName​(TypeName node)
      • checkVariableDefinition

        private void checkVariableDefinition​(VariableDefinition node)
      • checkField

        private void checkField​(Field node)
      • checkInlineFragment

        private void checkInlineFragment​(InlineFragment node)
      • checkDirective

        private void checkDirective​(Directive node,
                                    java.util.List<Node> ancestors)
      • checkFragmentSpread

        private void checkFragmentSpread​(FragmentSpread node,
                                         java.util.List<Node> ancestors)
      • checkFragmentDefinition

        private void checkFragmentDefinition​(FragmentDefinition node)
      • checkOperationDefinition

        private void checkOperationDefinition​(OperationDefinition node)
      • checkSelectionSet

        private void checkSelectionSet​(SelectionSet node)
      • checkObjectValue

        private void checkObjectValue​(ObjectValue node)
      • leaveSelectionSet

        private void leaveSelectionSet​(SelectionSet node)
      • leaveOperationDefinition

        private void leaveOperationDefinition​(OperationDefinition node)
      • documentFinished

        private void documentFinished​(Document node)
      • leaveFragmentDefinition

        private void leaveFragmentDefinition​(FragmentDefinition node)