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