linked-data-python 0.0.4__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ldpy/__init__.py +35 -11
- ldpy/__main__.py +75 -250
- ldpy/build.py +91 -0
- ldpy/console.py +116 -0
- ldpy/debug.py +235 -0
- ldpy/formatter.py +329 -0
- ldpy/importer.py +110 -0
- ldpy/lsp/__init__.py +11 -0
- ldpy/lsp/__main__.py +4 -0
- ldpy/lsp/backend.py +118 -0
- ldpy/lsp/rpc.py +104 -0
- ldpy/lsp/server.py +353 -0
- ldpy/lsp/translate.py +140 -0
- ldpy/pygments_lexer.py +613 -0
- ldpy/runtime.py +931 -0
- ldpy/sparql.py +551 -0
- ldpy/transpiler/__init__.py +14 -0
- ldpy/transpiler/core.py +2558 -0
- ldpy/transpiler/errors.py +38 -0
- ldpy/transpiler/linemap.py +292 -0
- linked_data_python-0.2.0.dist-info/METADATA +158 -0
- linked_data_python-0.2.0.dist-info/RECORD +26 -0
- {linked_data_python-0.0.4.dist-info → linked_data_python-0.2.0.dist-info}/WHEEL +1 -1
- linked_data_python-0.2.0.dist-info/entry_points.txt +9 -0
- {linked_data_python-0.0.4.dist-info → linked_data_python-0.2.0.dist-info/licenses}/LICENSE.md +0 -0
- {linked_data_python-0.0.4.dist-info → linked_data_python-0.2.0.dist-info}/top_level.txt +0 -0
- ldpy/grun/lib.py +0 -63
- ldpy/grun/util.py +0 -11
- ldpy/ldpy.py +0 -183
- ldpy/rewriter/IndentedStringWriter.py +0 -54
- ldpy/rewriter/LDPythonRewriter.py +0 -677
- ldpy/rewriter/MultiChannelTokenStream.py +0 -127
- ldpy/rewriter/Result.py +0 -49
- ldpy/rewriter/__init__.py +0 -7
- ldpy/rewriter/antlr/LDPythonLexer.py +0 -870
- ldpy/rewriter/antlr/LDPythonParser.py +0 -9336
- ldpy/rewriter/antlr/LDPythonVisitor.py +0 -573
- ldpy/sparql/builtin.py +0 -326
- linked_data_python-0.0.4.dist-info/METADATA +0 -139
- linked_data_python-0.0.4.dist-info/RECORD +0 -20
- linked_data_python-0.0.4.dist-info/entry_points.txt +0 -3
|
@@ -1,573 +0,0 @@
|
|
|
1
|
-
# Generated from grammars/LDPython.g4 by ANTLR 4.12.0
|
|
2
|
-
from antlr4 import *
|
|
3
|
-
if __name__ is not None and "." in __name__:
|
|
4
|
-
from .LDPythonParser import LDPythonParser
|
|
5
|
-
else:
|
|
6
|
-
from LDPythonParser import LDPythonParser
|
|
7
|
-
|
|
8
|
-
# This class defines a complete generic visitor for a parse tree produced by LDPythonParser.
|
|
9
|
-
|
|
10
|
-
class LDPythonVisitor(ParseTreeVisitor):
|
|
11
|
-
|
|
12
|
-
# Visit a parse tree produced by LDPythonParser#single_input.
|
|
13
|
-
def visitSingle_input(self, ctx:LDPythonParser.Single_inputContext):
|
|
14
|
-
return self.visitChildren(ctx)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# Visit a parse tree produced by LDPythonParser#file_input.
|
|
18
|
-
def visitFile_input(self, ctx:LDPythonParser.File_inputContext):
|
|
19
|
-
return self.visitChildren(ctx)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# Visit a parse tree produced by LDPythonParser#eval_input.
|
|
23
|
-
def visitEval_input(self, ctx:LDPythonParser.Eval_inputContext):
|
|
24
|
-
return self.visitChildren(ctx)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# Visit a parse tree produced by LDPythonParser#decorator.
|
|
28
|
-
def visitDecorator(self, ctx:LDPythonParser.DecoratorContext):
|
|
29
|
-
return self.visitChildren(ctx)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
# Visit a parse tree produced by LDPythonParser#decorators.
|
|
33
|
-
def visitDecorators(self, ctx:LDPythonParser.DecoratorsContext):
|
|
34
|
-
return self.visitChildren(ctx)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
# Visit a parse tree produced by LDPythonParser#decorated.
|
|
38
|
-
def visitDecorated(self, ctx:LDPythonParser.DecoratedContext):
|
|
39
|
-
return self.visitChildren(ctx)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
# Visit a parse tree produced by LDPythonParser#base_stmt.
|
|
43
|
-
def visitBase_stmt(self, ctx:LDPythonParser.Base_stmtContext):
|
|
44
|
-
return self.visitChildren(ctx)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
# Visit a parse tree produced by LDPythonParser#prefix_stmt.
|
|
48
|
-
def visitPrefix_stmt(self, ctx:LDPythonParser.Prefix_stmtContext):
|
|
49
|
-
return self.visitChildren(ctx)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
# Visit a parse tree produced by LDPythonParser#async_funcdef.
|
|
53
|
-
def visitAsync_funcdef(self, ctx:LDPythonParser.Async_funcdefContext):
|
|
54
|
-
return self.visitChildren(ctx)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
# Visit a parse tree produced by LDPythonParser#funcdef.
|
|
58
|
-
def visitFuncdef(self, ctx:LDPythonParser.FuncdefContext):
|
|
59
|
-
return self.visitChildren(ctx)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
# Visit a parse tree produced by LDPythonParser#parameters.
|
|
63
|
-
def visitParameters(self, ctx:LDPythonParser.ParametersContext):
|
|
64
|
-
return self.visitChildren(ctx)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
# Visit a parse tree produced by LDPythonParser#typedargslist.
|
|
68
|
-
def visitTypedargslist(self, ctx:LDPythonParser.TypedargslistContext):
|
|
69
|
-
return self.visitChildren(ctx)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
# Visit a parse tree produced by LDPythonParser#tfpdef.
|
|
73
|
-
def visitTfpdef(self, ctx:LDPythonParser.TfpdefContext):
|
|
74
|
-
return self.visitChildren(ctx)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
# Visit a parse tree produced by LDPythonParser#varargslist.
|
|
78
|
-
def visitVarargslist(self, ctx:LDPythonParser.VarargslistContext):
|
|
79
|
-
return self.visitChildren(ctx)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
# Visit a parse tree produced by LDPythonParser#vfpdef.
|
|
83
|
-
def visitVfpdef(self, ctx:LDPythonParser.VfpdefContext):
|
|
84
|
-
return self.visitChildren(ctx)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
# Visit a parse tree produced by LDPythonParser#stmt.
|
|
88
|
-
def visitStmt(self, ctx:LDPythonParser.StmtContext):
|
|
89
|
-
return self.visitChildren(ctx)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
# Visit a parse tree produced by LDPythonParser#simple_stmt.
|
|
93
|
-
def visitSimple_stmt(self, ctx:LDPythonParser.Simple_stmtContext):
|
|
94
|
-
return self.visitChildren(ctx)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
# Visit a parse tree produced by LDPythonParser#small_stmt.
|
|
98
|
-
def visitSmall_stmt(self, ctx:LDPythonParser.Small_stmtContext):
|
|
99
|
-
return self.visitChildren(ctx)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
# Visit a parse tree produced by LDPythonParser#expr_stmt.
|
|
103
|
-
def visitExpr_stmt(self, ctx:LDPythonParser.Expr_stmtContext):
|
|
104
|
-
return self.visitChildren(ctx)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
# Visit a parse tree produced by LDPythonParser#testlist_star_expr.
|
|
108
|
-
def visitTestlist_star_expr(self, ctx:LDPythonParser.Testlist_star_exprContext):
|
|
109
|
-
return self.visitChildren(ctx)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
# Visit a parse tree produced by LDPythonParser#augassign.
|
|
113
|
-
def visitAugassign(self, ctx:LDPythonParser.AugassignContext):
|
|
114
|
-
return self.visitChildren(ctx)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
# Visit a parse tree produced by LDPythonParser#del_stmt.
|
|
118
|
-
def visitDel_stmt(self, ctx:LDPythonParser.Del_stmtContext):
|
|
119
|
-
return self.visitChildren(ctx)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
# Visit a parse tree produced by LDPythonParser#pass_stmt.
|
|
123
|
-
def visitPass_stmt(self, ctx:LDPythonParser.Pass_stmtContext):
|
|
124
|
-
return self.visitChildren(ctx)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
# Visit a parse tree produced by LDPythonParser#flow_stmt.
|
|
128
|
-
def visitFlow_stmt(self, ctx:LDPythonParser.Flow_stmtContext):
|
|
129
|
-
return self.visitChildren(ctx)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
# Visit a parse tree produced by LDPythonParser#break_stmt.
|
|
133
|
-
def visitBreak_stmt(self, ctx:LDPythonParser.Break_stmtContext):
|
|
134
|
-
return self.visitChildren(ctx)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
# Visit a parse tree produced by LDPythonParser#continue_stmt.
|
|
138
|
-
def visitContinue_stmt(self, ctx:LDPythonParser.Continue_stmtContext):
|
|
139
|
-
return self.visitChildren(ctx)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
# Visit a parse tree produced by LDPythonParser#return_stmt.
|
|
143
|
-
def visitReturn_stmt(self, ctx:LDPythonParser.Return_stmtContext):
|
|
144
|
-
return self.visitChildren(ctx)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
# Visit a parse tree produced by LDPythonParser#yield_stmt.
|
|
148
|
-
def visitYield_stmt(self, ctx:LDPythonParser.Yield_stmtContext):
|
|
149
|
-
return self.visitChildren(ctx)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
# Visit a parse tree produced by LDPythonParser#raise_stmt.
|
|
153
|
-
def visitRaise_stmt(self, ctx:LDPythonParser.Raise_stmtContext):
|
|
154
|
-
return self.visitChildren(ctx)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# Visit a parse tree produced by LDPythonParser#import_stmt.
|
|
158
|
-
def visitImport_stmt(self, ctx:LDPythonParser.Import_stmtContext):
|
|
159
|
-
return self.visitChildren(ctx)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
# Visit a parse tree produced by LDPythonParser#import_name.
|
|
163
|
-
def visitImport_name(self, ctx:LDPythonParser.Import_nameContext):
|
|
164
|
-
return self.visitChildren(ctx)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
# Visit a parse tree produced by LDPythonParser#import_from.
|
|
168
|
-
def visitImport_from(self, ctx:LDPythonParser.Import_fromContext):
|
|
169
|
-
return self.visitChildren(ctx)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
# Visit a parse tree produced by LDPythonParser#import_as_name.
|
|
173
|
-
def visitImport_as_name(self, ctx:LDPythonParser.Import_as_nameContext):
|
|
174
|
-
return self.visitChildren(ctx)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
# Visit a parse tree produced by LDPythonParser#dotted_as_name.
|
|
178
|
-
def visitDotted_as_name(self, ctx:LDPythonParser.Dotted_as_nameContext):
|
|
179
|
-
return self.visitChildren(ctx)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
# Visit a parse tree produced by LDPythonParser#import_as_names.
|
|
183
|
-
def visitImport_as_names(self, ctx:LDPythonParser.Import_as_namesContext):
|
|
184
|
-
return self.visitChildren(ctx)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
# Visit a parse tree produced by LDPythonParser#dotted_as_names.
|
|
188
|
-
def visitDotted_as_names(self, ctx:LDPythonParser.Dotted_as_namesContext):
|
|
189
|
-
return self.visitChildren(ctx)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
# Visit a parse tree produced by LDPythonParser#dotted_name.
|
|
193
|
-
def visitDotted_name(self, ctx:LDPythonParser.Dotted_nameContext):
|
|
194
|
-
return self.visitChildren(ctx)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
# Visit a parse tree produced by LDPythonParser#global_stmt.
|
|
198
|
-
def visitGlobal_stmt(self, ctx:LDPythonParser.Global_stmtContext):
|
|
199
|
-
return self.visitChildren(ctx)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
# Visit a parse tree produced by LDPythonParser#nonlocal_stmt.
|
|
203
|
-
def visitNonlocal_stmt(self, ctx:LDPythonParser.Nonlocal_stmtContext):
|
|
204
|
-
return self.visitChildren(ctx)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
# Visit a parse tree produced by LDPythonParser#assert_stmt.
|
|
208
|
-
def visitAssert_stmt(self, ctx:LDPythonParser.Assert_stmtContext):
|
|
209
|
-
return self.visitChildren(ctx)
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
# Visit a parse tree produced by LDPythonParser#compound_stmt.
|
|
213
|
-
def visitCompound_stmt(self, ctx:LDPythonParser.Compound_stmtContext):
|
|
214
|
-
return self.visitChildren(ctx)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
# Visit a parse tree produced by LDPythonParser#async_stmt.
|
|
218
|
-
def visitAsync_stmt(self, ctx:LDPythonParser.Async_stmtContext):
|
|
219
|
-
return self.visitChildren(ctx)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
# Visit a parse tree produced by LDPythonParser#if_stmt.
|
|
223
|
-
def visitIf_stmt(self, ctx:LDPythonParser.If_stmtContext):
|
|
224
|
-
return self.visitChildren(ctx)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
# Visit a parse tree produced by LDPythonParser#while_stmt.
|
|
228
|
-
def visitWhile_stmt(self, ctx:LDPythonParser.While_stmtContext):
|
|
229
|
-
return self.visitChildren(ctx)
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
# Visit a parse tree produced by LDPythonParser#for_stmt.
|
|
233
|
-
def visitFor_stmt(self, ctx:LDPythonParser.For_stmtContext):
|
|
234
|
-
return self.visitChildren(ctx)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
# Visit a parse tree produced by LDPythonParser#try_stmt.
|
|
238
|
-
def visitTry_stmt(self, ctx:LDPythonParser.Try_stmtContext):
|
|
239
|
-
return self.visitChildren(ctx)
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
# Visit a parse tree produced by LDPythonParser#with_stmt.
|
|
243
|
-
def visitWith_stmt(self, ctx:LDPythonParser.With_stmtContext):
|
|
244
|
-
return self.visitChildren(ctx)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
# Visit a parse tree produced by LDPythonParser#with_item.
|
|
248
|
-
def visitWith_item(self, ctx:LDPythonParser.With_itemContext):
|
|
249
|
-
return self.visitChildren(ctx)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
# Visit a parse tree produced by LDPythonParser#except_clause.
|
|
253
|
-
def visitExcept_clause(self, ctx:LDPythonParser.Except_clauseContext):
|
|
254
|
-
return self.visitChildren(ctx)
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
# Visit a parse tree produced by LDPythonParser#suite.
|
|
258
|
-
def visitSuite(self, ctx:LDPythonParser.SuiteContext):
|
|
259
|
-
return self.visitChildren(ctx)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
# Visit a parse tree produced by LDPythonParser#test.
|
|
263
|
-
def visitTest(self, ctx:LDPythonParser.TestContext):
|
|
264
|
-
return self.visitChildren(ctx)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
# Visit a parse tree produced by LDPythonParser#test_nocond.
|
|
268
|
-
def visitTest_nocond(self, ctx:LDPythonParser.Test_nocondContext):
|
|
269
|
-
return self.visitChildren(ctx)
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
# Visit a parse tree produced by LDPythonParser#lambdef.
|
|
273
|
-
def visitLambdef(self, ctx:LDPythonParser.LambdefContext):
|
|
274
|
-
return self.visitChildren(ctx)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
# Visit a parse tree produced by LDPythonParser#lambdef_nocond.
|
|
278
|
-
def visitLambdef_nocond(self, ctx:LDPythonParser.Lambdef_nocondContext):
|
|
279
|
-
return self.visitChildren(ctx)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
# Visit a parse tree produced by LDPythonParser#or_test.
|
|
283
|
-
def visitOr_test(self, ctx:LDPythonParser.Or_testContext):
|
|
284
|
-
return self.visitChildren(ctx)
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
# Visit a parse tree produced by LDPythonParser#and_test.
|
|
288
|
-
def visitAnd_test(self, ctx:LDPythonParser.And_testContext):
|
|
289
|
-
return self.visitChildren(ctx)
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
# Visit a parse tree produced by LDPythonParser#not_test.
|
|
293
|
-
def visitNot_test(self, ctx:LDPythonParser.Not_testContext):
|
|
294
|
-
return self.visitChildren(ctx)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
# Visit a parse tree produced by LDPythonParser#comparison.
|
|
298
|
-
def visitComparison(self, ctx:LDPythonParser.ComparisonContext):
|
|
299
|
-
return self.visitChildren(ctx)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
# Visit a parse tree produced by LDPythonParser#comp_op.
|
|
303
|
-
def visitComp_op(self, ctx:LDPythonParser.Comp_opContext):
|
|
304
|
-
return self.visitChildren(ctx)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
# Visit a parse tree produced by LDPythonParser#star_expr.
|
|
308
|
-
def visitStar_expr(self, ctx:LDPythonParser.Star_exprContext):
|
|
309
|
-
return self.visitChildren(ctx)
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
# Visit a parse tree produced by LDPythonParser#expr.
|
|
313
|
-
def visitExpr(self, ctx:LDPythonParser.ExprContext):
|
|
314
|
-
return self.visitChildren(ctx)
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
# Visit a parse tree produced by LDPythonParser#xor_expr.
|
|
318
|
-
def visitXor_expr(self, ctx:LDPythonParser.Xor_exprContext):
|
|
319
|
-
return self.visitChildren(ctx)
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
# Visit a parse tree produced by LDPythonParser#and_expr.
|
|
323
|
-
def visitAnd_expr(self, ctx:LDPythonParser.And_exprContext):
|
|
324
|
-
return self.visitChildren(ctx)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
# Visit a parse tree produced by LDPythonParser#shift_expr.
|
|
328
|
-
def visitShift_expr(self, ctx:LDPythonParser.Shift_exprContext):
|
|
329
|
-
return self.visitChildren(ctx)
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
# Visit a parse tree produced by LDPythonParser#arith_expr.
|
|
333
|
-
def visitArith_expr(self, ctx:LDPythonParser.Arith_exprContext):
|
|
334
|
-
return self.visitChildren(ctx)
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
# Visit a parse tree produced by LDPythonParser#term.
|
|
338
|
-
def visitTerm(self, ctx:LDPythonParser.TermContext):
|
|
339
|
-
return self.visitChildren(ctx)
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
# Visit a parse tree produced by LDPythonParser#factor.
|
|
343
|
-
def visitFactor(self, ctx:LDPythonParser.FactorContext):
|
|
344
|
-
return self.visitChildren(ctx)
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
# Visit a parse tree produced by LDPythonParser#power.
|
|
348
|
-
def visitPower(self, ctx:LDPythonParser.PowerContext):
|
|
349
|
-
return self.visitChildren(ctx)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
# Visit a parse tree produced by LDPythonParser#atom_expr.
|
|
353
|
-
def visitAtom_expr(self, ctx:LDPythonParser.Atom_exprContext):
|
|
354
|
-
return self.visitChildren(ctx)
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
# Visit a parse tree produced by LDPythonParser#atom.
|
|
358
|
-
def visitAtom(self, ctx:LDPythonParser.AtomContext):
|
|
359
|
-
return self.visitChildren(ctx)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
# Visit a parse tree produced by LDPythonParser#testlist_comp.
|
|
363
|
-
def visitTestlist_comp(self, ctx:LDPythonParser.Testlist_compContext):
|
|
364
|
-
return self.visitChildren(ctx)
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
# Visit a parse tree produced by LDPythonParser#trailer.
|
|
368
|
-
def visitTrailer(self, ctx:LDPythonParser.TrailerContext):
|
|
369
|
-
return self.visitChildren(ctx)
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
# Visit a parse tree produced by LDPythonParser#subscriptlist.
|
|
373
|
-
def visitSubscriptlist(self, ctx:LDPythonParser.SubscriptlistContext):
|
|
374
|
-
return self.visitChildren(ctx)
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
# Visit a parse tree produced by LDPythonParser#subscript.
|
|
378
|
-
def visitSubscript(self, ctx:LDPythonParser.SubscriptContext):
|
|
379
|
-
return self.visitChildren(ctx)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
# Visit a parse tree produced by LDPythonParser#sliceop.
|
|
383
|
-
def visitSliceop(self, ctx:LDPythonParser.SliceopContext):
|
|
384
|
-
return self.visitChildren(ctx)
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
# Visit a parse tree produced by LDPythonParser#exprlist.
|
|
388
|
-
def visitExprlist(self, ctx:LDPythonParser.ExprlistContext):
|
|
389
|
-
return self.visitChildren(ctx)
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
# Visit a parse tree produced by LDPythonParser#testlist.
|
|
393
|
-
def visitTestlist(self, ctx:LDPythonParser.TestlistContext):
|
|
394
|
-
return self.visitChildren(ctx)
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
# Visit a parse tree produced by LDPythonParser#dictorsetmaker.
|
|
398
|
-
def visitDictorsetmaker(self, ctx:LDPythonParser.DictorsetmakerContext):
|
|
399
|
-
return self.visitChildren(ctx)
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
# Visit a parse tree produced by LDPythonParser#classdef.
|
|
403
|
-
def visitClassdef(self, ctx:LDPythonParser.ClassdefContext):
|
|
404
|
-
return self.visitChildren(ctx)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
# Visit a parse tree produced by LDPythonParser#arglist.
|
|
408
|
-
def visitArglist(self, ctx:LDPythonParser.ArglistContext):
|
|
409
|
-
return self.visitChildren(ctx)
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
# Visit a parse tree produced by LDPythonParser#argument.
|
|
413
|
-
def visitArgument(self, ctx:LDPythonParser.ArgumentContext):
|
|
414
|
-
return self.visitChildren(ctx)
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
# Visit a parse tree produced by LDPythonParser#comp_iter.
|
|
418
|
-
def visitComp_iter(self, ctx:LDPythonParser.Comp_iterContext):
|
|
419
|
-
return self.visitChildren(ctx)
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
# Visit a parse tree produced by LDPythonParser#comp_for.
|
|
423
|
-
def visitComp_for(self, ctx:LDPythonParser.Comp_forContext):
|
|
424
|
-
return self.visitChildren(ctx)
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
# Visit a parse tree produced by LDPythonParser#comp_if.
|
|
428
|
-
def visitComp_if(self, ctx:LDPythonParser.Comp_ifContext):
|
|
429
|
-
return self.visitChildren(ctx)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
# Visit a parse tree produced by LDPythonParser#encoding_decl.
|
|
433
|
-
def visitEncoding_decl(self, ctx:LDPythonParser.Encoding_declContext):
|
|
434
|
-
return self.visitChildren(ctx)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
# Visit a parse tree produced by LDPythonParser#yield_expr.
|
|
438
|
-
def visitYield_expr(self, ctx:LDPythonParser.Yield_exprContext):
|
|
439
|
-
return self.visitChildren(ctx)
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
# Visit a parse tree produced by LDPythonParser#yield_arg.
|
|
443
|
-
def visitYield_arg(self, ctx:LDPythonParser.Yield_argContext):
|
|
444
|
-
return self.visitChildren(ctx)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
# Visit a parse tree produced by LDPythonParser#construct_template.
|
|
448
|
-
def visitConstruct_template(self, ctx:LDPythonParser.Construct_templateContext):
|
|
449
|
-
return self.visitChildren(ctx)
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
# Visit a parse tree produced by LDPythonParser#construct_triples.
|
|
453
|
-
def visitConstruct_triples(self, ctx:LDPythonParser.Construct_triplesContext):
|
|
454
|
-
return self.visitChildren(ctx)
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
# Visit a parse tree produced by LDPythonParser#triples_same_subject.
|
|
458
|
-
def visitTriples_same_subject(self, ctx:LDPythonParser.Triples_same_subjectContext):
|
|
459
|
-
return self.visitChildren(ctx)
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
# Visit a parse tree produced by LDPythonParser#property_list.
|
|
463
|
-
def visitProperty_list(self, ctx:LDPythonParser.Property_listContext):
|
|
464
|
-
return self.visitChildren(ctx)
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
# Visit a parse tree produced by LDPythonParser#property_list_not_empty.
|
|
468
|
-
def visitProperty_list_not_empty(self, ctx:LDPythonParser.Property_list_not_emptyContext):
|
|
469
|
-
return self.visitChildren(ctx)
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
# Visit a parse tree produced by LDPythonParser#verb.
|
|
473
|
-
def visitVerb(self, ctx:LDPythonParser.VerbContext):
|
|
474
|
-
return self.visitChildren(ctx)
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
# Visit a parse tree produced by LDPythonParser#object_list.
|
|
478
|
-
def visitObject_list(self, ctx:LDPythonParser.Object_listContext):
|
|
479
|
-
return self.visitChildren(ctx)
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
# Visit a parse tree produced by LDPythonParser#object_.
|
|
483
|
-
def visitObject_(self, ctx:LDPythonParser.Object_Context):
|
|
484
|
-
return self.visitChildren(ctx)
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
# Visit a parse tree produced by LDPythonParser#triples_node.
|
|
488
|
-
def visitTriples_node(self, ctx:LDPythonParser.Triples_nodeContext):
|
|
489
|
-
return self.visitChildren(ctx)
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
# Visit a parse tree produced by LDPythonParser#blank_node_property_list.
|
|
493
|
-
def visitBlank_node_property_list(self, ctx:LDPythonParser.Blank_node_property_listContext):
|
|
494
|
-
return self.visitChildren(ctx)
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
# Visit a parse tree produced by LDPythonParser#collection.
|
|
498
|
-
def visitCollection(self, ctx:LDPythonParser.CollectionContext):
|
|
499
|
-
return self.visitChildren(ctx)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
# Visit a parse tree produced by LDPythonParser#graph_node.
|
|
503
|
-
def visitGraph_node(self, ctx:LDPythonParser.Graph_nodeContext):
|
|
504
|
-
return self.visitChildren(ctx)
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
# Visit a parse tree produced by LDPythonParser#var_or_term.
|
|
508
|
-
def visitVar_or_term(self, ctx:LDPythonParser.Var_or_termContext):
|
|
509
|
-
return self.visitChildren(ctx)
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
# Visit a parse tree produced by LDPythonParser#var_or_iri.
|
|
513
|
-
def visitVar_or_iri(self, ctx:LDPythonParser.Var_or_iriContext):
|
|
514
|
-
return self.visitChildren(ctx)
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
# Visit a parse tree produced by LDPythonParser#var.
|
|
518
|
-
def visitVar(self, ctx:LDPythonParser.VarContext):
|
|
519
|
-
return self.visitChildren(ctx)
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
# Visit a parse tree produced by LDPythonParser#graph_term.
|
|
523
|
-
def visitGraph_term(self, ctx:LDPythonParser.Graph_termContext):
|
|
524
|
-
return self.visitChildren(ctx)
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
# Visit a parse tree produced by LDPythonParser#rdf_literal.
|
|
528
|
-
def visitRdf_literal(self, ctx:LDPythonParser.Rdf_literalContext):
|
|
529
|
-
return self.visitChildren(ctx)
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
# Visit a parse tree produced by LDPythonParser#iri.
|
|
533
|
-
def visitIri(self, ctx:LDPythonParser.IriContext):
|
|
534
|
-
return self.visitChildren(ctx)
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
# Visit a parse tree produced by LDPythonParser#prefixed_name.
|
|
538
|
-
def visitPrefixed_name(self, ctx:LDPythonParser.Prefixed_nameContext):
|
|
539
|
-
return self.visitChildren(ctx)
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
# Visit a parse tree produced by LDPythonParser#all_names.
|
|
543
|
-
def visitAll_names(self, ctx:LDPythonParser.All_namesContext):
|
|
544
|
-
return self.visitChildren(ctx)
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
# Visit a parse tree produced by LDPythonParser#blank_node.
|
|
548
|
-
def visitBlank_node(self, ctx:LDPythonParser.Blank_nodeContext):
|
|
549
|
-
return self.visitChildren(ctx)
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
# Visit a parse tree produced by LDPythonParser#nil.
|
|
553
|
-
def visitNil(self, ctx:LDPythonParser.NilContext):
|
|
554
|
-
return self.visitChildren(ctx)
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
# Visit a parse tree produced by LDPythonParser#anon.
|
|
558
|
-
def visitAnon(self, ctx:LDPythonParser.AnonContext):
|
|
559
|
-
return self.visitChildren(ctx)
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
# Visit a parse tree produced by LDPythonParser#firi.
|
|
563
|
-
def visitFiri(self, ctx:LDPythonParser.FiriContext):
|
|
564
|
-
return self.visitChildren(ctx)
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
# Visit a parse tree produced by LDPythonParser#fnode.
|
|
568
|
-
def visitFnode(self, ctx:LDPythonParser.FnodeContext):
|
|
569
|
-
return self.visitChildren(ctx)
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
del LDPythonParser
|