graphql.util.TraverserVisitor Maven / Gradle / Ivy
package graphql.util;
import graphql.Internal;
@Internal
public interface TraverserVisitor {
/**
* @param context the context in place
*
* @return Any allowed control value
*/
TraversalControl enter(TraverserContext context);
/**
* @param context the context in place
*
* @return Only Continue or Quit allowed
*/
TraversalControl leave(TraverserContext context);
/**
* @param context the context in place
*
* @return Only Continue or Quit allowed
*/
default TraversalControl backRef(TraverserContext context) {
return TraversalControl.CONTINUE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy