blob: c0bcc4af37f58824d46a99b31f274f1522b50b73 (
plain)
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
|
# Generated from TacticNotations.g by ANTLR 4.7
from antlr4 import *
if __name__ is not None and "." in __name__:
from .TacticNotationsParser import TacticNotationsParser
else:
from TacticNotationsParser import TacticNotationsParser
# This class defines a complete generic visitor for a parse tree produced by TacticNotationsParser.
class TacticNotationsVisitor(ParseTreeVisitor):
# Visit a parse tree produced by TacticNotationsParser#top.
def visitTop(self, ctx:TacticNotationsParser.TopContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#blocks.
def visitBlocks(self, ctx:TacticNotationsParser.BlocksContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#block.
def visitBlock(self, ctx:TacticNotationsParser.BlockContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#repeat.
def visitRepeat(self, ctx:TacticNotationsParser.RepeatContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#curlies.
def visitCurlies(self, ctx:TacticNotationsParser.CurliesContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#whitespace.
def visitWhitespace(self, ctx:TacticNotationsParser.WhitespaceContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#meta.
def visitMeta(self, ctx:TacticNotationsParser.MetaContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#atomic.
def visitAtomic(self, ctx:TacticNotationsParser.AtomicContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TacticNotationsParser#hole.
def visitHole(self, ctx:TacticNotationsParser.HoleContext):
return self.visitChildren(ctx)
del TacticNotationsParser
|