
graphql.parser.antlr.GraphqlBaseVisitor Maven / Gradle / Ivy
// Generated from /Users/andi/dev/projects/graphql-java/src/main/grammar/Graphql.g4 by ANTLR 4.5.1
package graphql.parser.antlr;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
* This class provides an empty implementation of {@link GraphqlVisitor},
* which can be extended to create a visitor which only needs to handle a subset
* of the available methods.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public class GraphqlBaseVisitor extends AbstractParseTreeVisitor implements GraphqlVisitor {
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitDocument(GraphqlParser.DocumentContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitDefinition(GraphqlParser.DefinitionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitOperationDefinition(GraphqlParser.OperationDefinitionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitOperationType(GraphqlParser.OperationTypeContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitVariableDefinitions(GraphqlParser.VariableDefinitionsContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitVariableDefinition(GraphqlParser.VariableDefinitionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitVariable(GraphqlParser.VariableContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitDefaultValue(GraphqlParser.DefaultValueContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitSelectionSet(GraphqlParser.SelectionSetContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitSelection(GraphqlParser.SelectionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitField(GraphqlParser.FieldContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitAlias(GraphqlParser.AliasContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitArguments(GraphqlParser.ArgumentsContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitArgument(GraphqlParser.ArgumentContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitFragmentSpread(GraphqlParser.FragmentSpreadContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitInlineFragment(GraphqlParser.InlineFragmentContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitFragmentDefinition(GraphqlParser.FragmentDefinitionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitFragmentName(GraphqlParser.FragmentNameContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitTypeCondition(GraphqlParser.TypeConditionContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitValue(GraphqlParser.ValueContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitValueWithVariable(GraphqlParser.ValueWithVariableContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitEnumValue(GraphqlParser.EnumValueContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitArrayValue(GraphqlParser.ArrayValueContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitArrayValueWithVariable(GraphqlParser.ArrayValueWithVariableContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitObjectValue(GraphqlParser.ObjectValueContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitObjectValueWithVariable(GraphqlParser.ObjectValueWithVariableContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitObjectField(GraphqlParser.ObjectFieldContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitObjectFieldWithVariable(GraphqlParser.ObjectFieldWithVariableContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitDirectives(GraphqlParser.DirectivesContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitDirective(GraphqlParser.DirectiveContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitType(GraphqlParser.TypeContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitTypeName(GraphqlParser.TypeNameContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitListType(GraphqlParser.ListTypeContext ctx) {
return visitChildren(ctx);
}
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override
public T visitNonNullType(GraphqlParser.NonNullTypeContext ctx) {
return visitChildren(ctx);
}
}