1+ // Generated from resources/com/walmartlabs/lacinia/Graphql.g4 by ANTLR 4.13.2
2+ package com .walmartlabs .lacinia ;
3+ import org .antlr .v4 .runtime .tree .AbstractParseTreeVisitor ;
4+
5+ /**
6+ * This class provides an empty implementation of {@link GraphqlVisitor},
7+ * which can be extended to create a visitor which only needs to handle a subset
8+ * of the available methods.
9+ *
10+ * @param <T> The return type of the visit operation. Use {@link Void} for
11+ * operations with no return type.
12+ */
13+ @ SuppressWarnings ("CheckReturnValue" )
14+ public class GraphqlBaseVisitor <T > extends AbstractParseTreeVisitor <T > implements GraphqlVisitor <T > {
15+ /**
16+ * {@inheritDoc}
17+ *
18+ * <p>The default implementation returns the result of calling
19+ * {@link #visitChildren} on {@code ctx}.</p>
20+ */
21+ @ Override public T visitDocument (GraphqlParser .DocumentContext ctx ) { return visitChildren (ctx ); }
22+ /**
23+ * {@inheritDoc}
24+ *
25+ * <p>The default implementation returns the result of calling
26+ * {@link #visitChildren} on {@code ctx}.</p>
27+ */
28+ @ Override public T visitDefinition (GraphqlParser .DefinitionContext ctx ) { return visitChildren (ctx ); }
29+ /**
30+ * {@inheritDoc}
31+ *
32+ * <p>The default implementation returns the result of calling
33+ * {@link #visitChildren} on {@code ctx}.</p>
34+ */
35+ @ Override public T visitOperationDefinition (GraphqlParser .OperationDefinitionContext ctx ) { return visitChildren (ctx ); }
36+ /**
37+ * {@inheritDoc}
38+ *
39+ * <p>The default implementation returns the result of calling
40+ * {@link #visitChildren} on {@code ctx}.</p>
41+ */
42+ @ Override public T visitName (GraphqlParser .NameContext ctx ) { return visitChildren (ctx ); }
43+ /**
44+ * {@inheritDoc}
45+ *
46+ * <p>The default implementation returns the result of calling
47+ * {@link #visitChildren} on {@code ctx}.</p>
48+ */
49+ @ Override public T visitOperationType (GraphqlParser .OperationTypeContext ctx ) { return visitChildren (ctx ); }
50+ /**
51+ * {@inheritDoc}
52+ *
53+ * <p>The default implementation returns the result of calling
54+ * {@link #visitChildren} on {@code ctx}.</p>
55+ */
56+ @ Override public T visitVariableDefinitions (GraphqlParser .VariableDefinitionsContext ctx ) { return visitChildren (ctx ); }
57+ /**
58+ * {@inheritDoc}
59+ *
60+ * <p>The default implementation returns the result of calling
61+ * {@link #visitChildren} on {@code ctx}.</p>
62+ */
63+ @ Override public T visitVariableDefinition (GraphqlParser .VariableDefinitionContext ctx ) { return visitChildren (ctx ); }
64+ /**
65+ * {@inheritDoc}
66+ *
67+ * <p>The default implementation returns the result of calling
68+ * {@link #visitChildren} on {@code ctx}.</p>
69+ */
70+ @ Override public T visitVariable (GraphqlParser .VariableContext ctx ) { return visitChildren (ctx ); }
71+ /**
72+ * {@inheritDoc}
73+ *
74+ * <p>The default implementation returns the result of calling
75+ * {@link #visitChildren} on {@code ctx}.</p>
76+ */
77+ @ Override public T visitDefaultValue (GraphqlParser .DefaultValueContext ctx ) { return visitChildren (ctx ); }
78+ /**
79+ * {@inheritDoc}
80+ *
81+ * <p>The default implementation returns the result of calling
82+ * {@link #visitChildren} on {@code ctx}.</p>
83+ */
84+ @ Override public T visitSelectionSet (GraphqlParser .SelectionSetContext ctx ) { return visitChildren (ctx ); }
85+ /**
86+ * {@inheritDoc}
87+ *
88+ * <p>The default implementation returns the result of calling
89+ * {@link #visitChildren} on {@code ctx}.</p>
90+ */
91+ @ Override public T visitSelection (GraphqlParser .SelectionContext ctx ) { return visitChildren (ctx ); }
92+ /**
93+ * {@inheritDoc}
94+ *
95+ * <p>The default implementation returns the result of calling
96+ * {@link #visitChildren} on {@code ctx}.</p>
97+ */
98+ @ Override public T visitField (GraphqlParser .FieldContext ctx ) { return visitChildren (ctx ); }
99+ /**
100+ * {@inheritDoc}
101+ *
102+ * <p>The default implementation returns the result of calling
103+ * {@link #visitChildren} on {@code ctx}.</p>
104+ */
105+ @ Override public T visitAlias (GraphqlParser .AliasContext ctx ) { return visitChildren (ctx ); }
106+ /**
107+ * {@inheritDoc}
108+ *
109+ * <p>The default implementation returns the result of calling
110+ * {@link #visitChildren} on {@code ctx}.</p>
111+ */
112+ @ Override public T visitArguments (GraphqlParser .ArgumentsContext ctx ) { return visitChildren (ctx ); }
113+ /**
114+ * {@inheritDoc}
115+ *
116+ * <p>The default implementation returns the result of calling
117+ * {@link #visitChildren} on {@code ctx}.</p>
118+ */
119+ @ Override public T visitArgument (GraphqlParser .ArgumentContext ctx ) { return visitChildren (ctx ); }
120+ /**
121+ * {@inheritDoc}
122+ *
123+ * <p>The default implementation returns the result of calling
124+ * {@link #visitChildren} on {@code ctx}.</p>
125+ */
126+ @ Override public T visitFragmentSpread (GraphqlParser .FragmentSpreadContext ctx ) { return visitChildren (ctx ); }
127+ /**
128+ * {@inheritDoc}
129+ *
130+ * <p>The default implementation returns the result of calling
131+ * {@link #visitChildren} on {@code ctx}.</p>
132+ */
133+ @ Override public T visitInlineFragment (GraphqlParser .InlineFragmentContext ctx ) { return visitChildren (ctx ); }
134+ /**
135+ * {@inheritDoc}
136+ *
137+ * <p>The default implementation returns the result of calling
138+ * {@link #visitChildren} on {@code ctx}.</p>
139+ */
140+ @ Override public T visitFragmentDefinition (GraphqlParser .FragmentDefinitionContext ctx ) { return visitChildren (ctx ); }
141+ /**
142+ * {@inheritDoc}
143+ *
144+ * <p>The default implementation returns the result of calling
145+ * {@link #visitChildren} on {@code ctx}.</p>
146+ */
147+ @ Override public T visitFragmentName (GraphqlParser .FragmentNameContext ctx ) { return visitChildren (ctx ); }
148+ /**
149+ * {@inheritDoc}
150+ *
151+ * <p>The default implementation returns the result of calling
152+ * {@link #visitChildren} on {@code ctx}.</p>
153+ */
154+ @ Override public T visitTypeCondition (GraphqlParser .TypeConditionContext ctx ) { return visitChildren (ctx ); }
155+ /**
156+ * {@inheritDoc}
157+ *
158+ * <p>The default implementation returns the result of calling
159+ * {@link #visitChildren} on {@code ctx}.</p>
160+ */
161+ @ Override public T visitValue (GraphqlParser .ValueContext ctx ) { return visitChildren (ctx ); }
162+ /**
163+ * {@inheritDoc}
164+ *
165+ * <p>The default implementation returns the result of calling
166+ * {@link #visitChildren} on {@code ctx}.</p>
167+ */
168+ @ Override public T visitEnumValue (GraphqlParser .EnumValueContext ctx ) { return visitChildren (ctx ); }
169+ /**
170+ * {@inheritDoc}
171+ *
172+ * <p>The default implementation returns the result of calling
173+ * {@link #visitChildren} on {@code ctx}.</p>
174+ */
175+ @ Override public T visitArrayValue (GraphqlParser .ArrayValueContext ctx ) { return visitChildren (ctx ); }
176+ /**
177+ * {@inheritDoc}
178+ *
179+ * <p>The default implementation returns the result of calling
180+ * {@link #visitChildren} on {@code ctx}.</p>
181+ */
182+ @ Override public T visitObjectValue (GraphqlParser .ObjectValueContext ctx ) { return visitChildren (ctx ); }
183+ /**
184+ * {@inheritDoc}
185+ *
186+ * <p>The default implementation returns the result of calling
187+ * {@link #visitChildren} on {@code ctx}.</p>
188+ */
189+ @ Override public T visitObjectField (GraphqlParser .ObjectFieldContext ctx ) { return visitChildren (ctx ); }
190+ /**
191+ * {@inheritDoc}
192+ *
193+ * <p>The default implementation returns the result of calling
194+ * {@link #visitChildren} on {@code ctx}.</p>
195+ */
196+ @ Override public T visitDirectives (GraphqlParser .DirectivesContext ctx ) { return visitChildren (ctx ); }
197+ /**
198+ * {@inheritDoc}
199+ *
200+ * <p>The default implementation returns the result of calling
201+ * {@link #visitChildren} on {@code ctx}.</p>
202+ */
203+ @ Override public T visitDirective (GraphqlParser .DirectiveContext ctx ) { return visitChildren (ctx ); }
204+ /**
205+ * {@inheritDoc}
206+ *
207+ * <p>The default implementation returns the result of calling
208+ * {@link #visitChildren} on {@code ctx}.</p>
209+ */
210+ @ Override public T visitType (GraphqlParser .TypeContext ctx ) { return visitChildren (ctx ); }
211+ /**
212+ * {@inheritDoc}
213+ *
214+ * <p>The default implementation returns the result of calling
215+ * {@link #visitChildren} on {@code ctx}.</p>
216+ */
217+ @ Override public T visitTypeName (GraphqlParser .TypeNameContext ctx ) { return visitChildren (ctx ); }
218+ /**
219+ * {@inheritDoc}
220+ *
221+ * <p>The default implementation returns the result of calling
222+ * {@link #visitChildren} on {@code ctx}.</p>
223+ */
224+ @ Override public T visitListType (GraphqlParser .ListTypeContext ctx ) { return visitChildren (ctx ); }
225+ /**
226+ * {@inheritDoc}
227+ *
228+ * <p>The default implementation returns the result of calling
229+ * {@link #visitChildren} on {@code ctx}.</p>
230+ */
231+ @ Override public T visitNonNullType (GraphqlParser .NonNullTypeContext ctx ) { return visitChildren (ctx ); }
232+ }
0 commit comments