EmbASP-Python
EmbASP-Python
parsers
asp
asp_parser_base
ASPGrammarVisitor.py
1
# Generated from ASPGrammar.g4 by ANTLR 4.7
2
from
antlr4
import
*
3
4
# This class defines a complete generic visitor for a parse tree produced by ASPGrammarParser.
5
6
class
ASPGrammarVisitor
(ParseTreeVisitor):
7
8
# Visit a parse tree produced by ASPGrammarParser#output.
9
def
visitOutput(self, ctx):
10
return
self.visitChildren(ctx)
11
12
13
# Visit a parse tree produced by ASPGrammarParser#predicate_atom.
14
def
visitPredicate_atom(self, ctx):
15
return
self.visitChildren(ctx)
16
17
18
# Visit a parse tree produced by ASPGrammarParser#term.
19
def
visitTerm(self, ctx):
20
return
self.visitChildren(ctx)
21
22
parsers.asp.asp_parser_base.ASPGrammarVisitor.ASPGrammarVisitor
Definition:
ASPGrammarVisitor.py:6
Generated by
1.8.17