Repository navigation
Expand file tree
/
Copy pathCypherVisitor.java
More file actions
282 lines (281 loc) · 9.17 KB
/
Copy pathCypherVisitor.java
File metadata and controls
282 lines (281 loc) · 9.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
// Generated from src/Cypher.g4 by ANTLR 4.6
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link CypherParser}.
*
* @param <T> The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface CypherVisitor<T> extends ParseTreeVisitor<T> {
/**
* Visit a parse tree produced by {@link CypherParser#cypher}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCypher(CypherParser.CypherContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#singleQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleQuery(CypherParser.SingleQueryContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#clause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClause(CypherParser.ClauseContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#match}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatch(CypherParser.MatchContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#return1}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitReturn1(CypherParser.Return1Context ctx);
/**
* Visit a parse tree produced by {@link CypherParser#pattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPattern(CypherParser.PatternContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#patternPart}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPatternPart(CypherParser.PatternPartContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#patternElement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPatternElement(CypherParser.PatternElementContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#patternElementChain}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPatternElementChain(CypherParser.PatternElementChainContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#nodePattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNodePattern(CypherParser.NodePatternContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#relationshipPattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationshipPattern(CypherParser.RelationshipPatternContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#relationshipDetail}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationshipDetail(CypherParser.RelationshipDetailContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#properties}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitProperties(CypherParser.PropertiesContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#relationshipTypes}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationshipTypes(CypherParser.RelationshipTypesContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#nodeLabels}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNodeLabels(CypherParser.NodeLabelsContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#rangeLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRangeLiteral(CypherParser.RangeLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#labelName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLabelName(CypherParser.LabelNameContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#relTypeName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelTypeName(CypherParser.RelTypeNameContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(CypherParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_not}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_not(CypherParser.Exp_notContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_arithmatic}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_arithmatic(CypherParser.Exp_arithmaticContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_binary}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_binary(CypherParser.Exp_binaryContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_muldiv}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_muldiv(CypherParser.Exp_muldivContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_xor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_xor(CypherParser.Exp_xorContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_unary}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_unary(CypherParser.Exp_unaryContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#exp_basic}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExp_basic(CypherParser.Exp_basicContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#expression2}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression2(CypherParser.Expression2Context ctx);
/**
* Visit a parse tree produced by {@link CypherParser#atom}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAtom(CypherParser.AtomContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#literal}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLiteral(CypherParser.LiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#numberLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumberLiteral(CypherParser.NumberLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#booleanLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanLiteral(CypherParser.BooleanLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#listLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitListLiteral(CypherParser.ListLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#mapLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMapLiteral(CypherParser.MapLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#partialComparisonExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPartialComparisonExpression(CypherParser.PartialComparisonExpressionContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#parenthesizedExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParenthesizedExpression(CypherParser.ParenthesizedExpressionContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#relationshipsPattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRelationshipsPattern(CypherParser.RelationshipsPatternContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#propertyLookup}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropertyLookup(CypherParser.PropertyLookupContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#propertyKeyName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropertyKeyName(CypherParser.PropertyKeyNameContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#variable}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariable(CypherParser.VariableContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#integerLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerLiteral(CypherParser.IntegerLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#doubleLiteral}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDoubleLiteral(CypherParser.DoubleLiteralContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#symbolicName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSymbolicName(CypherParser.SymbolicNameContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#leftArrowHead}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLeftArrowHead(CypherParser.LeftArrowHeadContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#rightArrowHead}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRightArrowHead(CypherParser.RightArrowHeadContext ctx);
/**
* Visit a parse tree produced by {@link CypherParser#dash}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDash(CypherParser.DashContext ctx);
}