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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
# Generated from T.g4 by ANTLR 4.6
from antlr4 import *
if __name__ is not None and "." in __name__:
from .TParser import TParser
else:
from TParser import TParser
# This class defines a complete generic visitor for a parse tree produced by TParser.
class TVisitor(ParseTreeVisitor):
# Visit a parse tree produced by TParser#documentSymbol.
def visitDocumentSymbol(self, ctx:TParser.DocumentSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#headerSymbol.
def visitHeaderSymbol(self, ctx:TParser.HeaderSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#importSymbol.
def visitImportSymbol(self, ctx:TParser.ImportSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#moduleSymbol.
def visitModuleSymbol(self, ctx:TParser.ModuleSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#definitionSymbol.
def visitDefinitionSymbol(self, ctx:TParser.DefinitionSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#interfaceSymbol.
def visitInterfaceSymbol(self, ctx:TParser.InterfaceSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#interfaceMemberSymbol.
def visitInterfaceMemberSymbol(self, ctx:TParser.InterfaceMemberSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#operationSymbol.
def visitOperationSymbol(self, ctx:TParser.OperationSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#propertySymbol.
def visitPropertySymbol(self, ctx:TParser.PropertySymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#operationParameterSymbol.
def visitOperationParameterSymbol(self, ctx:TParser.OperationParameterSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#tagSymbol.
def visitTagSymbol(self, ctx:TParser.TagSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#tagAttributeSymbol.
def visitTagAttributeSymbol(self, ctx:TParser.TagAttributeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#typeSymbol.
def visitTypeSymbol(self, ctx:TParser.TypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#complexTypeSymbol.
def visitComplexTypeSymbol(self, ctx:TParser.ComplexTypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#primitiveTypeSymbol.
def visitPrimitiveTypeSymbol(self, ctx:TParser.PrimitiveTypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#listTypeSymbol.
def visitListTypeSymbol(self, ctx:TParser.ListTypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#modelTypeSymbol.
def visitModelTypeSymbol(self, ctx:TParser.ModelTypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#structSymbol.
def visitStructSymbol(self, ctx:TParser.StructSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#structFieldSymbol.
def visitStructFieldSymbol(self, ctx:TParser.StructFieldSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#enumSymbol.
def visitEnumSymbol(self, ctx:TParser.EnumSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#enumTypeSymbol.
def visitEnumTypeSymbol(self, ctx:TParser.EnumTypeSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#enumMemberSymbol.
def visitEnumMemberSymbol(self, ctx:TParser.EnumMemberSymbolContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by TParser#intSymbol.
def visitIntSymbol(self, ctx:TParser.IntSymbolContext):
return self.visitChildren(ctx)
del TParser
|