public class GraphQLBaseListener extends java.lang.Object implements GraphQLListener
GraphQLListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
GraphQLBaseListener() |
public void enterDocument(GraphQLParser.DocumentContext ctx)
GraphQLParser.document()
.
The default implementation does nothing.
enterDocument
in interface GraphQLListener
ctx
- the parse treepublic void exitDocument(GraphQLParser.DocumentContext ctx)
GraphQLParser.document()
.
The default implementation does nothing.
exitDocument
in interface GraphQLListener
ctx
- the parse treepublic void enterDefinition(GraphQLParser.DefinitionContext ctx)
GraphQLParser.definition()
.
The default implementation does nothing.
enterDefinition
in interface GraphQLListener
ctx
- the parse treepublic void exitDefinition(GraphQLParser.DefinitionContext ctx)
GraphQLParser.definition()
.
The default implementation does nothing.
exitDefinition
in interface GraphQLListener
ctx
- the parse treepublic void enterOperationDefinition(GraphQLParser.OperationDefinitionContext ctx)
GraphQLParser.operationDefinition()
.
The default implementation does nothing.
enterOperationDefinition
in interface GraphQLListener
ctx
- the parse treepublic void exitOperationDefinition(GraphQLParser.OperationDefinitionContext ctx)
GraphQLParser.operationDefinition()
.
The default implementation does nothing.
exitOperationDefinition
in interface GraphQLListener
ctx
- the parse treepublic void enterSelectionSet(GraphQLParser.SelectionSetContext ctx)
GraphQLParser.selectionSet()
.
The default implementation does nothing.
enterSelectionSet
in interface GraphQLListener
ctx
- the parse treepublic void exitSelectionSet(GraphQLParser.SelectionSetContext ctx)
GraphQLParser.selectionSet()
.
The default implementation does nothing.
exitSelectionSet
in interface GraphQLListener
ctx
- the parse treepublic void enterOperationType(GraphQLParser.OperationTypeContext ctx)
GraphQLParser.operationType()
.
The default implementation does nothing.
enterOperationType
in interface GraphQLListener
ctx
- the parse treepublic void exitOperationType(GraphQLParser.OperationTypeContext ctx)
GraphQLParser.operationType()
.
The default implementation does nothing.
exitOperationType
in interface GraphQLListener
ctx
- the parse treepublic void enterSelection(GraphQLParser.SelectionContext ctx)
GraphQLParser.selection()
.
The default implementation does nothing.
enterSelection
in interface GraphQLListener
ctx
- the parse treepublic void exitSelection(GraphQLParser.SelectionContext ctx)
GraphQLParser.selection()
.
The default implementation does nothing.
exitSelection
in interface GraphQLListener
ctx
- the parse treepublic void enterField(GraphQLParser.FieldContext ctx)
GraphQLParser.field()
.
The default implementation does nothing.
enterField
in interface GraphQLListener
ctx
- the parse treepublic void exitField(GraphQLParser.FieldContext ctx)
GraphQLParser.field()
.
The default implementation does nothing.
exitField
in interface GraphQLListener
ctx
- the parse treepublic void enterFieldName(GraphQLParser.FieldNameContext ctx)
GraphQLParser.fieldName()
.
The default implementation does nothing.
enterFieldName
in interface GraphQLListener
ctx
- the parse treepublic void exitFieldName(GraphQLParser.FieldNameContext ctx)
GraphQLParser.fieldName()
.
The default implementation does nothing.
exitFieldName
in interface GraphQLListener
ctx
- the parse treepublic void enterAlias(GraphQLParser.AliasContext ctx)
GraphQLParser.alias()
.
The default implementation does nothing.
enterAlias
in interface GraphQLListener
ctx
- the parse treepublic void exitAlias(GraphQLParser.AliasContext ctx)
GraphQLParser.alias()
.
The default implementation does nothing.
exitAlias
in interface GraphQLListener
ctx
- the parse treepublic void enterArguments(GraphQLParser.ArgumentsContext ctx)
GraphQLParser.arguments()
.
The default implementation does nothing.
enterArguments
in interface GraphQLListener
ctx
- the parse treepublic void exitArguments(GraphQLParser.ArgumentsContext ctx)
GraphQLParser.arguments()
.
The default implementation does nothing.
exitArguments
in interface GraphQLListener
ctx
- the parse treepublic void enterArgument(GraphQLParser.ArgumentContext ctx)
GraphQLParser.argument()
.
The default implementation does nothing.
enterArgument
in interface GraphQLListener
ctx
- the parse treepublic void exitArgument(GraphQLParser.ArgumentContext ctx)
GraphQLParser.argument()
.
The default implementation does nothing.
exitArgument
in interface GraphQLListener
ctx
- the parse treepublic void enterFragmentSpread(GraphQLParser.FragmentSpreadContext ctx)
GraphQLParser.fragmentSpread()
.
The default implementation does nothing.
enterFragmentSpread
in interface GraphQLListener
ctx
- the parse treepublic void exitFragmentSpread(GraphQLParser.FragmentSpreadContext ctx)
GraphQLParser.fragmentSpread()
.
The default implementation does nothing.
exitFragmentSpread
in interface GraphQLListener
ctx
- the parse treepublic void enterInlineFragment(GraphQLParser.InlineFragmentContext ctx)
GraphQLParser.inlineFragment()
.
The default implementation does nothing.
enterInlineFragment
in interface GraphQLListener
ctx
- the parse treepublic void exitInlineFragment(GraphQLParser.InlineFragmentContext ctx)
GraphQLParser.inlineFragment()
.
The default implementation does nothing.
exitInlineFragment
in interface GraphQLListener
ctx
- the parse treepublic void enterFragmentDefinition(GraphQLParser.FragmentDefinitionContext ctx)
GraphQLParser.fragmentDefinition()
.
The default implementation does nothing.
enterFragmentDefinition
in interface GraphQLListener
ctx
- the parse treepublic void exitFragmentDefinition(GraphQLParser.FragmentDefinitionContext ctx)
GraphQLParser.fragmentDefinition()
.
The default implementation does nothing.
exitFragmentDefinition
in interface GraphQLListener
ctx
- the parse treepublic void enterFragmentKeyword(GraphQLParser.FragmentKeywordContext ctx)
GraphQLParser.fragmentKeyword()
.
The default implementation does nothing.
enterFragmentKeyword
in interface GraphQLListener
ctx
- the parse treepublic void exitFragmentKeyword(GraphQLParser.FragmentKeywordContext ctx)
GraphQLParser.fragmentKeyword()
.
The default implementation does nothing.
exitFragmentKeyword
in interface GraphQLListener
ctx
- the parse treepublic void enterFragmentName(GraphQLParser.FragmentNameContext ctx)
GraphQLParser.fragmentName()
.
The default implementation does nothing.
enterFragmentName
in interface GraphQLListener
ctx
- the parse treepublic void exitFragmentName(GraphQLParser.FragmentNameContext ctx)
GraphQLParser.fragmentName()
.
The default implementation does nothing.
exitFragmentName
in interface GraphQLListener
ctx
- the parse treepublic void enterDirectives(GraphQLParser.DirectivesContext ctx)
GraphQLParser.directives()
.
The default implementation does nothing.
enterDirectives
in interface GraphQLListener
ctx
- the parse treepublic void exitDirectives(GraphQLParser.DirectivesContext ctx)
GraphQLParser.directives()
.
The default implementation does nothing.
exitDirectives
in interface GraphQLListener
ctx
- the parse treepublic void enterDirective(GraphQLParser.DirectiveContext ctx)
GraphQLParser.directive()
.
The default implementation does nothing.
enterDirective
in interface GraphQLListener
ctx
- the parse treepublic void exitDirective(GraphQLParser.DirectiveContext ctx)
GraphQLParser.directive()
.
The default implementation does nothing.
exitDirective
in interface GraphQLListener
ctx
- the parse treepublic void enterTypeCondition(GraphQLParser.TypeConditionContext ctx)
GraphQLParser.typeCondition()
.
The default implementation does nothing.
enterTypeCondition
in interface GraphQLListener
ctx
- the parse treepublic void exitTypeCondition(GraphQLParser.TypeConditionContext ctx)
GraphQLParser.typeCondition()
.
The default implementation does nothing.
exitTypeCondition
in interface GraphQLListener
ctx
- the parse treepublic void enterVariableDefinitions(GraphQLParser.VariableDefinitionsContext ctx)
GraphQLParser.variableDefinitions()
.
The default implementation does nothing.
enterVariableDefinitions
in interface GraphQLListener
ctx
- the parse treepublic void exitVariableDefinitions(GraphQLParser.VariableDefinitionsContext ctx)
GraphQLParser.variableDefinitions()
.
The default implementation does nothing.
exitVariableDefinitions
in interface GraphQLListener
ctx
- the parse treepublic void enterVariableDefinition(GraphQLParser.VariableDefinitionContext ctx)
GraphQLParser.variableDefinition()
.
The default implementation does nothing.
enterVariableDefinition
in interface GraphQLListener
ctx
- the parse treepublic void exitVariableDefinition(GraphQLParser.VariableDefinitionContext ctx)
GraphQLParser.variableDefinition()
.
The default implementation does nothing.
exitVariableDefinition
in interface GraphQLListener
ctx
- the parse treepublic void enterVariable(GraphQLParser.VariableContext ctx)
GraphQLParser.variable()
.
The default implementation does nothing.
enterVariable
in interface GraphQLListener
ctx
- the parse treepublic void exitVariable(GraphQLParser.VariableContext ctx)
GraphQLParser.variable()
.
The default implementation does nothing.
exitVariable
in interface GraphQLListener
ctx
- the parse treepublic void enterDefaultValue(GraphQLParser.DefaultValueContext ctx)
GraphQLParser.defaultValue()
.
The default implementation does nothing.
enterDefaultValue
in interface GraphQLListener
ctx
- the parse treepublic void exitDefaultValue(GraphQLParser.DefaultValueContext ctx)
GraphQLParser.defaultValue()
.
The default implementation does nothing.
exitDefaultValue
in interface GraphQLListener
ctx
- the parse treepublic void enterValueOrVariable(GraphQLParser.ValueOrVariableContext ctx)
GraphQLParser.valueOrVariable()
.
The default implementation does nothing.
enterValueOrVariable
in interface GraphQLListener
ctx
- the parse treepublic void exitValueOrVariable(GraphQLParser.ValueOrVariableContext ctx)
GraphQLParser.valueOrVariable()
.
The default implementation does nothing.
exitValueOrVariable
in interface GraphQLListener
ctx
- the parse treepublic void enterStringValue(GraphQLParser.StringValueContext ctx)
stringValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterStringValue
in interface GraphQLListener
ctx
- the parse treepublic void exitStringValue(GraphQLParser.StringValueContext ctx)
stringValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitStringValue
in interface GraphQLListener
ctx
- the parse treepublic void enterNumberValue(GraphQLParser.NumberValueContext ctx)
numberValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterNumberValue
in interface GraphQLListener
ctx
- the parse treepublic void exitNumberValue(GraphQLParser.NumberValueContext ctx)
numberValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitNumberValue
in interface GraphQLListener
ctx
- the parse treepublic void enterBooleanValue(GraphQLParser.BooleanValueContext ctx)
booleanValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterBooleanValue
in interface GraphQLListener
ctx
- the parse treepublic void exitBooleanValue(GraphQLParser.BooleanValueContext ctx)
booleanValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitBooleanValue
in interface GraphQLListener
ctx
- the parse treepublic void enterArrayValue(GraphQLParser.ArrayValueContext ctx)
arrayValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterArrayValue
in interface GraphQLListener
ctx
- the parse treepublic void exitArrayValue(GraphQLParser.ArrayValueContext ctx)
arrayValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitArrayValue
in interface GraphQLListener
ctx
- the parse treepublic void enterLiteralValue(GraphQLParser.LiteralValueContext ctx)
literalValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterLiteralValue
in interface GraphQLListener
ctx
- the parse treepublic void exitLiteralValue(GraphQLParser.LiteralValueContext ctx)
literalValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitLiteralValue
in interface GraphQLListener
ctx
- the parse treepublic void enterInlineInputTypeValue(GraphQLParser.InlineInputTypeValueContext ctx)
inlineInputTypeValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
enterInlineInputTypeValue
in interface GraphQLListener
ctx
- the parse treepublic void exitInlineInputTypeValue(GraphQLParser.InlineInputTypeValueContext ctx)
inlineInputTypeValue
labeled alternative in GraphQLParser.value()
.
The default implementation does nothing.
exitInlineInputTypeValue
in interface GraphQLListener
ctx
- the parse treepublic void enterArrayValueType(GraphQLParser.ArrayValueTypeContext ctx)
GraphQLParser.arrayValueType()
.
The default implementation does nothing.
enterArrayValueType
in interface GraphQLListener
ctx
- the parse treepublic void exitArrayValueType(GraphQLParser.ArrayValueTypeContext ctx)
GraphQLParser.arrayValueType()
.
The default implementation does nothing.
exitArrayValueType
in interface GraphQLListener
ctx
- the parse treepublic void enterEmptyArray(GraphQLParser.EmptyArrayContext ctx)
GraphQLParser.emptyArray()
.
The default implementation does nothing.
enterEmptyArray
in interface GraphQLListener
ctx
- the parse treepublic void exitEmptyArray(GraphQLParser.EmptyArrayContext ctx)
GraphQLParser.emptyArray()
.
The default implementation does nothing.
exitEmptyArray
in interface GraphQLListener
ctx
- the parse treepublic void enterInlineInputType(GraphQLParser.InlineInputTypeContext ctx)
GraphQLParser.inlineInputType()
.
The default implementation does nothing.
enterInlineInputType
in interface GraphQLListener
ctx
- the parse treepublic void exitInlineInputType(GraphQLParser.InlineInputTypeContext ctx)
GraphQLParser.inlineInputType()
.
The default implementation does nothing.
exitInlineInputType
in interface GraphQLListener
ctx
- the parse treepublic void enterInlineInputTypeField(GraphQLParser.InlineInputTypeFieldContext ctx)
GraphQLParser.inlineInputTypeField()
.
The default implementation does nothing.
enterInlineInputTypeField
in interface GraphQLListener
ctx
- the parse treepublic void exitInlineInputTypeField(GraphQLParser.InlineInputTypeFieldContext ctx)
GraphQLParser.inlineInputTypeField()
.
The default implementation does nothing.
exitInlineInputTypeField
in interface GraphQLListener
ctx
- the parse treepublic void enterEmptyMap(GraphQLParser.EmptyMapContext ctx)
GraphQLParser.emptyMap()
.
The default implementation does nothing.
enterEmptyMap
in interface GraphQLListener
ctx
- the parse treepublic void exitEmptyMap(GraphQLParser.EmptyMapContext ctx)
GraphQLParser.emptyMap()
.
The default implementation does nothing.
exitEmptyMap
in interface GraphQLListener
ctx
- the parse treepublic void enterType(GraphQLParser.TypeContext ctx)
GraphQLParser.type()
.
The default implementation does nothing.
enterType
in interface GraphQLListener
ctx
- the parse treepublic void exitType(GraphQLParser.TypeContext ctx)
GraphQLParser.type()
.
The default implementation does nothing.
exitType
in interface GraphQLListener
ctx
- the parse treepublic void enterTypeName(GraphQLParser.TypeNameContext ctx)
GraphQLParser.typeName()
.
The default implementation does nothing.
enterTypeName
in interface GraphQLListener
ctx
- the parse treepublic void exitTypeName(GraphQLParser.TypeNameContext ctx)
GraphQLParser.typeName()
.
The default implementation does nothing.
exitTypeName
in interface GraphQLListener
ctx
- the parse treepublic void enterListType(GraphQLParser.ListTypeContext ctx)
GraphQLParser.listType()
.
The default implementation does nothing.
enterListType
in interface GraphQLListener
ctx
- the parse treepublic void exitListType(GraphQLParser.ListTypeContext ctx)
GraphQLParser.listType()
.
The default implementation does nothing.
exitListType
in interface GraphQLListener
ctx
- the parse treepublic void enterNonNullType(GraphQLParser.NonNullTypeContext ctx)
GraphQLParser.nonNullType()
.
The default implementation does nothing.
enterNonNullType
in interface GraphQLListener
ctx
- the parse treepublic void exitNonNullType(GraphQLParser.NonNullTypeContext ctx)
GraphQLParser.nonNullType()
.
The default implementation does nothing.
exitNonNullType
in interface GraphQLListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener