EmbASP-Python
EmbASP-Python
parsers
asp
dlv2
DLV2ParserVisitor.py
1
# Generated from DLV2Parser.g4 by ANTLR 4.7
2
from
antlr4
import
*
3
4
# This class defines a complete generic visitor for a parse tree produced by DLV2Parser.
5
6
class
DLV2ParserVisitor
(ParseTreeVisitor):
7
8
# Visit a parse tree produced by DLV2Parser#answer_set.
9
def
visitAnswer_set(self, ctx):
10
return
self.visitChildren(ctx)
11
12
13
# Visit a parse tree produced by DLV2Parser#cost.
14
def
visitCost(self, ctx):
15
return
self.visitChildren(ctx)
16
17
18
# Visit a parse tree produced by DLV2Parser#level.
19
def
visitLevel(self, ctx):
20
return
self.visitChildren(ctx)
21
22
23
# Visit a parse tree produced by DLV2Parser#model.
24
def
visitModel(self, ctx):
25
return
self.visitChildren(ctx)
26
27
28
# Visit a parse tree produced by DLV2Parser#output.
29
def
visitOutput(self, ctx):
30
return
self.visitChildren(ctx)
31
32
33
# Visit a parse tree produced by DLV2Parser#predicate_atom.
34
def
visitPredicate_atom(self, ctx):
35
return
self.visitChildren(ctx)
36
37
38
# Visit a parse tree produced by DLV2Parser#term.
39
def
visitTerm(self, ctx):
40
return
self.visitChildren(ctx)
41
42
parsers.asp.dlv2.DLV2ParserVisitor.DLV2ParserVisitor
Definition:
DLV2ParserVisitor.py:6
Generated by
1.8.17