-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
http_base_listener.go
165 lines (110 loc) · 7.1 KB
/
http_base_listener.go
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// Code generated from http.g4 by ANTLR 4.7.2. DO NOT EDIT.
package http // http
import "github.com/antlr/antlr4/runtime/Go/antlr"
// BasehttpListener is a complete listener for a parse tree produced by httpParser.
type BasehttpListener struct{}
var _ httpListener = &BasehttpListener{}
// VisitTerminal is called when a terminal node is visited.
func (s *BasehttpListener) VisitTerminal(node antlr.TerminalNode) {}
// VisitErrorNode is called when an error node is visited.
func (s *BasehttpListener) VisitErrorNode(node antlr.ErrorNode) {}
// EnterEveryRule is called when any rule is entered.
func (s *BasehttpListener) EnterEveryRule(ctx antlr.ParserRuleContext) {}
// ExitEveryRule is called when any rule is exited.
func (s *BasehttpListener) ExitEveryRule(ctx antlr.ParserRuleContext) {}
// EnterHttp_message is called when production http_message is entered.
func (s *BasehttpListener) EnterHttp_message(ctx *Http_messageContext) {}
// ExitHttp_message is called when production http_message is exited.
func (s *BasehttpListener) ExitHttp_message(ctx *Http_messageContext) {}
// EnterStart_line is called when production start_line is entered.
func (s *BasehttpListener) EnterStart_line(ctx *Start_lineContext) {}
// ExitStart_line is called when production start_line is exited.
func (s *BasehttpListener) ExitStart_line(ctx *Start_lineContext) {}
// EnterRequest_line is called when production request_line is entered.
func (s *BasehttpListener) EnterRequest_line(ctx *Request_lineContext) {}
// ExitRequest_line is called when production request_line is exited.
func (s *BasehttpListener) ExitRequest_line(ctx *Request_lineContext) {}
// EnterMethod is called when production method is entered.
func (s *BasehttpListener) EnterMethod(ctx *MethodContext) {}
// ExitMethod is called when production method is exited.
func (s *BasehttpListener) ExitMethod(ctx *MethodContext) {}
// EnterRequest_target is called when production request_target is entered.
func (s *BasehttpListener) EnterRequest_target(ctx *Request_targetContext) {}
// ExitRequest_target is called when production request_target is exited.
func (s *BasehttpListener) ExitRequest_target(ctx *Request_targetContext) {}
// EnterOrigin_form is called when production origin_form is entered.
func (s *BasehttpListener) EnterOrigin_form(ctx *Origin_formContext) {}
// ExitOrigin_form is called when production origin_form is exited.
func (s *BasehttpListener) ExitOrigin_form(ctx *Origin_formContext) {}
// EnterAbsolute_path is called when production absolute_path is entered.
func (s *BasehttpListener) EnterAbsolute_path(ctx *Absolute_pathContext) {}
// ExitAbsolute_path is called when production absolute_path is exited.
func (s *BasehttpListener) ExitAbsolute_path(ctx *Absolute_pathContext) {}
// EnterSegment is called when production segment is entered.
func (s *BasehttpListener) EnterSegment(ctx *SegmentContext) {}
// ExitSegment is called when production segment is exited.
func (s *BasehttpListener) ExitSegment(ctx *SegmentContext) {}
// EnterQuery is called when production query is entered.
func (s *BasehttpListener) EnterQuery(ctx *QueryContext) {}
// ExitQuery is called when production query is exited.
func (s *BasehttpListener) ExitQuery(ctx *QueryContext) {}
// EnterHttp_version is called when production http_version is entered.
func (s *BasehttpListener) EnterHttp_version(ctx *Http_versionContext) {}
// ExitHttp_version is called when production http_version is exited.
func (s *BasehttpListener) ExitHttp_version(ctx *Http_versionContext) {}
// EnterHttp_name is called when production http_name is entered.
func (s *BasehttpListener) EnterHttp_name(ctx *Http_nameContext) {}
// ExitHttp_name is called when production http_name is exited.
func (s *BasehttpListener) ExitHttp_name(ctx *Http_nameContext) {}
// EnterHeader_field is called when production header_field is entered.
func (s *BasehttpListener) EnterHeader_field(ctx *Header_fieldContext) {}
// ExitHeader_field is called when production header_field is exited.
func (s *BasehttpListener) ExitHeader_field(ctx *Header_fieldContext) {}
// EnterField_name is called when production field_name is entered.
func (s *BasehttpListener) EnterField_name(ctx *Field_nameContext) {}
// ExitField_name is called when production field_name is exited.
func (s *BasehttpListener) ExitField_name(ctx *Field_nameContext) {}
// EnterToken is called when production token is entered.
func (s *BasehttpListener) EnterToken(ctx *TokenContext) {}
// ExitToken is called when production token is exited.
func (s *BasehttpListener) ExitToken(ctx *TokenContext) {}
// EnterField_value is called when production field_value is entered.
func (s *BasehttpListener) EnterField_value(ctx *Field_valueContext) {}
// ExitField_value is called when production field_value is exited.
func (s *BasehttpListener) ExitField_value(ctx *Field_valueContext) {}
// EnterField_content is called when production field_content is entered.
func (s *BasehttpListener) EnterField_content(ctx *Field_contentContext) {}
// ExitField_content is called when production field_content is exited.
func (s *BasehttpListener) ExitField_content(ctx *Field_contentContext) {}
// EnterField_vchar is called when production field_vchar is entered.
func (s *BasehttpListener) EnterField_vchar(ctx *Field_vcharContext) {}
// ExitField_vchar is called when production field_vchar is exited.
func (s *BasehttpListener) ExitField_vchar(ctx *Field_vcharContext) {}
// EnterObs_text is called when production obs_text is entered.
func (s *BasehttpListener) EnterObs_text(ctx *Obs_textContext) {}
// ExitObs_text is called when production obs_text is exited.
func (s *BasehttpListener) ExitObs_text(ctx *Obs_textContext) {}
// EnterObs_fold is called when production obs_fold is entered.
func (s *BasehttpListener) EnterObs_fold(ctx *Obs_foldContext) {}
// ExitObs_fold is called when production obs_fold is exited.
func (s *BasehttpListener) ExitObs_fold(ctx *Obs_foldContext) {}
// EnterPchar is called when production pchar is entered.
func (s *BasehttpListener) EnterPchar(ctx *PcharContext) {}
// ExitPchar is called when production pchar is exited.
func (s *BasehttpListener) ExitPchar(ctx *PcharContext) {}
// EnterUnreserved is called when production unreserved is entered.
func (s *BasehttpListener) EnterUnreserved(ctx *UnreservedContext) {}
// ExitUnreserved is called when production unreserved is exited.
func (s *BasehttpListener) ExitUnreserved(ctx *UnreservedContext) {}
// EnterSub_delims is called when production sub_delims is entered.
func (s *BasehttpListener) EnterSub_delims(ctx *Sub_delimsContext) {}
// ExitSub_delims is called when production sub_delims is exited.
func (s *BasehttpListener) ExitSub_delims(ctx *Sub_delimsContext) {}
// EnterTchar is called when production tchar is entered.
func (s *BasehttpListener) EnterTchar(ctx *TcharContext) {}
// ExitTchar is called when production tchar is exited.
func (s *BasehttpListener) ExitTchar(ctx *TcharContext) {}
// EnterVCHAR is called when production vCHAR is entered.
func (s *BasehttpListener) EnterVCHAR(ctx *VCHARContext) {}
// ExitVCHAR is called when production vCHAR is exited.
func (s *BasehttpListener) ExitVCHAR(ctx *VCHARContext) {}