graphql.analysis.QueryVisitor Maven / Gradle / Ivy
package graphql.analysis;
import graphql.PublicApi;
/**
* Used by {@link QueryTraversal} to visit the nodes of a Query.
*
* How this happens in detail (pre vs post-order for example) is defined by {@link QueryTraversal}.
*/
@PublicApi
public interface QueryVisitor {
void visitField(QueryVisitorFieldEnvironment queryVisitorFieldEnvironment);
void visitInlineFragment(QueryVisitorInlineFragmentEnvironment queryVisitorInlineFragmentEnvironment);
void visitFragmentSpread(QueryVisitorFragmentSpreadEnvironment queryVisitorFragmentSpreadEnvironment);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy