blob: 51f3928d4f1dfe25c69cc05e978652dec435a49b [file] [log] [blame]
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05303 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.yangutils.parser.impl;
18
Vinod Kumar S71cba682016-02-25 15:52:16 +053019import java.util.Stack;
20
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053021import org.antlr.v4.runtime.ParserRuleContext;
22import org.antlr.v4.runtime.tree.ErrorNode;
23import org.antlr.v4.runtime.tree.TerminalNode;
24import org.onosproject.yangutils.datamodel.YangNode;
25import org.onosproject.yangutils.parser.Parsable;
26import org.onosproject.yangutils.parser.antlrgencode.GeneratedYangListener;
27import org.onosproject.yangutils.parser.antlrgencode.GeneratedYangParser;
Vidyashree Rama25bf4d02016-03-29 14:37:02 +053028import org.onosproject.yangutils.parser.impl.listeners.AugmentListener;
Vinod Kumar S0c330cd2016-02-23 22:36:57 +053029import org.onosproject.yangutils.parser.impl.listeners.BaseFileListener;
30import org.onosproject.yangutils.parser.impl.listeners.BelongsToListener;
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +053031import org.onosproject.yangutils.parser.impl.listeners.BitListener;
32import org.onosproject.yangutils.parser.impl.listeners.BitsListener;
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053033import org.onosproject.yangutils.parser.impl.listeners.CaseListener;
34import org.onosproject.yangutils.parser.impl.listeners.ChoiceListener;
Vinod Kumar S0c330cd2016-02-23 22:36:57 +053035import org.onosproject.yangutils.parser.impl.listeners.ConfigListener;
36import org.onosproject.yangutils.parser.impl.listeners.ContactListener;
37import org.onosproject.yangutils.parser.impl.listeners.ContainerListener;
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +053038import org.onosproject.yangutils.parser.impl.listeners.DefaultListener;
Vinod Kumar S0c330cd2016-02-23 22:36:57 +053039import org.onosproject.yangutils.parser.impl.listeners.DescriptionListener;
Gaurav Agrawal9c512e02016-02-25 04:37:05 +053040import org.onosproject.yangutils.parser.impl.listeners.EnumListener;
41import org.onosproject.yangutils.parser.impl.listeners.EnumerationListener;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053042import org.onosproject.yangutils.parser.impl.listeners.GroupingListener;
Vinod Kumar S0c330cd2016-02-23 22:36:57 +053043import org.onosproject.yangutils.parser.impl.listeners.ImportListener;
44import org.onosproject.yangutils.parser.impl.listeners.IncludeListener;
Vidyashree Rama6a72b792016-03-29 12:00:42 +053045import org.onosproject.yangutils.parser.impl.listeners.InputListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053046import org.onosproject.yangutils.parser.impl.listeners.KeyListener;
47import org.onosproject.yangutils.parser.impl.listeners.LeafListListener;
48import org.onosproject.yangutils.parser.impl.listeners.LeafListener;
Vidyashree Ramaa2f73982016-04-12 23:33:33 +053049import org.onosproject.yangutils.parser.impl.listeners.LengthRestrictionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053050import org.onosproject.yangutils.parser.impl.listeners.ListListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053051import org.onosproject.yangutils.parser.impl.listeners.MandatoryListener;
52import org.onosproject.yangutils.parser.impl.listeners.MaxElementsListener;
53import org.onosproject.yangutils.parser.impl.listeners.MinElementsListener;
54import org.onosproject.yangutils.parser.impl.listeners.ModuleListener;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053055import org.onosproject.yangutils.parser.impl.listeners.NotificationListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053056import org.onosproject.yangutils.parser.impl.listeners.NamespaceListener;
57import org.onosproject.yangutils.parser.impl.listeners.OrganizationListener;
Vidyashree Rama6a72b792016-03-29 12:00:42 +053058import org.onosproject.yangutils.parser.impl.listeners.OutputListener;
Vidyashree Ramaa2f73982016-04-12 23:33:33 +053059import org.onosproject.yangutils.parser.impl.listeners.PatternRestrictionListener;
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +053060import org.onosproject.yangutils.parser.impl.listeners.PositionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053061import org.onosproject.yangutils.parser.impl.listeners.PrefixListener;
62import org.onosproject.yangutils.parser.impl.listeners.PresenceListener;
Vidyashree Rama0b920732016-03-29 09:52:22 +053063import org.onosproject.yangutils.parser.impl.listeners.RangeRestrictionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053064import org.onosproject.yangutils.parser.impl.listeners.ReferenceListener;
65import org.onosproject.yangutils.parser.impl.listeners.RevisionDateListener;
66import org.onosproject.yangutils.parser.impl.listeners.RevisionListener;
Vidyashree Rama6a72b792016-03-29 12:00:42 +053067import org.onosproject.yangutils.parser.impl.listeners.RpcListener;
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053068import org.onosproject.yangutils.parser.impl.listeners.ShortCaseListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053069import org.onosproject.yangutils.parser.impl.listeners.StatusListener;
70import org.onosproject.yangutils.parser.impl.listeners.SubModuleListener;
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +053071import org.onosproject.yangutils.parser.impl.listeners.TypeDefListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053072import org.onosproject.yangutils.parser.impl.listeners.TypeListener;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053073import org.onosproject.yangutils.parser.impl.listeners.UnionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053074import org.onosproject.yangutils.parser.impl.listeners.UnitsListener;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053075import org.onosproject.yangutils.parser.impl.listeners.UsesListener;
Gaurav Agrawal9c512e02016-02-25 04:37:05 +053076import org.onosproject.yangutils.parser.impl.listeners.ValueListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053077import org.onosproject.yangutils.parser.impl.listeners.VersionListener;
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053078
79/**
Bharat saraswald9822e92016-04-05 15:13:44 +053080 * Represents ANTLR generates parse-tree. ANTLR generates a parse-tree listener interface that responds to events
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053081 * triggered by the built-in tree walker. The methods in listener are just
82 * callbacks. This class implements listener interface and generates the
83 * corresponding data model tree.
84 */
85public class TreeWalkListener implements GeneratedYangListener {
86
87 // List of parsable node entries maintained in stack
88 private Stack<Parsable> parsedDataStack = new Stack<>();
89
90 // Parse tree root node
91 private YangNode rootNode;
92
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053093 /**
94 * Returns stack of parsable data.
95 *
96 * @return stack of parsable data
97 */
98 public Stack<Parsable> getParsedDataStack() {
99 return parsedDataStack;
100 }
101
102 /**
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530103 * Returns root node.
104 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530105 * @return rootNode of data model tree
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530106 */
107 public YangNode getRootNode() {
108 return rootNode;
109 }
110
111 /**
112 * Set parsed data stack.
113 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530114 * @param parsedDataStack stack of parsable data objects
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530115 */
116 public void setParsedDataStack(Stack<Parsable> parsedDataStack) {
117 this.parsedDataStack = parsedDataStack;
118 }
119
120 /**
121 * Set root node.
122 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530123 * @param rootNode root node of data model tree
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530124 */
125 public void setRootNode(YangNode rootNode) {
126 this.rootNode = rootNode;
127 }
128
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530129 @Override
130 public void enterYangfile(GeneratedYangParser.YangfileContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530131 BaseFileListener.processYangFileEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530132 }
133
134 @Override
135 public void exitYangfile(GeneratedYangParser.YangfileContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530136 BaseFileListener.processYangFileExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530137 }
138
139 @Override
140 public void enterModuleStatement(GeneratedYangParser.ModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530141 ModuleListener.processModuleEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530142 }
143
144 @Override
145 public void exitModuleStatement(GeneratedYangParser.ModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530146 ModuleListener.processModuleExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530147 }
148
149 @Override
150 public void enterModuleBody(GeneratedYangParser.ModuleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530151 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530152 }
153
154 @Override
155 public void exitModuleBody(GeneratedYangParser.ModuleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530156 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530157 }
158
159 @Override
160 public void enterModuleHeaderStatement(GeneratedYangParser.ModuleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530161 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530162 }
163
164 @Override
165 public void exitModuleHeaderStatement(GeneratedYangParser.ModuleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530166 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530167 }
168
169 @Override
170 public void enterLinkageStatements(GeneratedYangParser.LinkageStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530171 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530172 }
173
174 @Override
175 public void exitLinkageStatements(GeneratedYangParser.LinkageStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530176 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530177 }
178
179 @Override
180 public void enterMetaStatements(GeneratedYangParser.MetaStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530181 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530182 }
183
184 @Override
185 public void exitMetaStatements(GeneratedYangParser.MetaStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530186 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530187 }
188
189 @Override
190 public void enterRevisionStatements(GeneratedYangParser.RevisionStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530191 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530192 }
193
194 @Override
195 public void exitRevisionStatements(GeneratedYangParser.RevisionStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530196 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530197 }
198
199 @Override
200 public void enterBodyStatements(GeneratedYangParser.BodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530201 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530202 }
203
204 @Override
205 public void exitBodyStatements(GeneratedYangParser.BodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530206 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530207 }
208
209 @Override
210 public void enterYangVersionStatement(GeneratedYangParser.YangVersionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530211 VersionListener.processVersionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530212 }
213
214 @Override
215 public void exitYangVersionStatement(GeneratedYangParser.YangVersionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530216 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530217 }
218
219 @Override
220 public void enterNamespaceStatement(GeneratedYangParser.NamespaceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530221 NamespaceListener.processNamespaceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530222 }
223
224 @Override
225 public void exitNamespaceStatement(GeneratedYangParser.NamespaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530226 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530227 }
228
229 @Override
230 public void enterPrefixStatement(GeneratedYangParser.PrefixStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530231 PrefixListener.processPrefixEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530232 }
233
234 @Override
235 public void exitPrefixStatement(GeneratedYangParser.PrefixStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530236 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530237 }
238
239 @Override
240 public void enterImportStatement(GeneratedYangParser.ImportStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530241 ImportListener.processImportEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530242 }
243
244 @Override
245 public void exitImportStatement(GeneratedYangParser.ImportStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530246 ImportListener.processImportExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530247 }
248
249 @Override
250 public void enterImportStatementBody(GeneratedYangParser.ImportStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530251 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530252 }
253
254 @Override
255 public void exitImportStatementBody(GeneratedYangParser.ImportStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530256 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530257 }
258
259 @Override
260 public void enterRevisionDateStatement(GeneratedYangParser.RevisionDateStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530261 RevisionDateListener.processRevisionDateEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530262 }
263
264 @Override
265 public void exitRevisionDateStatement(GeneratedYangParser.RevisionDateStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530266 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530267 }
268
269 @Override
270 public void enterIncludeStatement(GeneratedYangParser.IncludeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530271 IncludeListener.processIncludeEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530272 }
273
274 @Override
275 public void exitIncludeStatement(GeneratedYangParser.IncludeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530276 IncludeListener.processIncludeExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530277 }
278
279 @Override
280 public void enterOrganizationStatement(GeneratedYangParser.OrganizationStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530281 OrganizationListener.processOrganizationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530282 }
283
284 @Override
285 public void exitOrganizationStatement(GeneratedYangParser.OrganizationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530286 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530287 }
288
289 @Override
290 public void enterContactStatement(GeneratedYangParser.ContactStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530291 ContactListener.processContactEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530292 }
293
294 @Override
295 public void exitContactStatement(GeneratedYangParser.ContactStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530296 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530297 }
298
299 @Override
300 public void enterDescriptionStatement(GeneratedYangParser.DescriptionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530301 DescriptionListener.processDescriptionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530302 }
303
304 @Override
305 public void exitDescriptionStatement(GeneratedYangParser.DescriptionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530306 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530307 }
308
309 @Override
310 public void enterReferenceStatement(GeneratedYangParser.ReferenceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530311 ReferenceListener.processReferenceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530312 }
313
314 @Override
315 public void exitReferenceStatement(GeneratedYangParser.ReferenceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530316 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530317 }
318
319 @Override
320 public void enterRevisionStatement(GeneratedYangParser.RevisionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530321 RevisionListener.processRevisionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530322 }
323
324 @Override
325 public void exitRevisionStatement(GeneratedYangParser.RevisionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530326 RevisionListener.processRevisionExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530327 }
328
329 @Override
330 public void enterRevisionStatementBody(GeneratedYangParser.RevisionStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530331 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530332 }
333
334 @Override
335 public void exitRevisionStatementBody(GeneratedYangParser.RevisionStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530336 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530337 }
338
339 @Override
340 public void enterSubModuleStatement(GeneratedYangParser.SubModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530341 SubModuleListener.processSubModuleEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530342 }
343
344 @Override
345 public void exitSubModuleStatement(GeneratedYangParser.SubModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530346 SubModuleListener.processSubModuleExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530347 }
348
349 @Override
350 public void enterSubmoduleBody(GeneratedYangParser.SubmoduleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530351 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530352 }
353
354 @Override
355 public void exitSubmoduleBody(GeneratedYangParser.SubmoduleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530356 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530357 }
358
359 @Override
360 public void enterSubmoduleHeaderStatement(GeneratedYangParser.SubmoduleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530361 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530362 }
363
364 @Override
365 public void exitSubmoduleHeaderStatement(GeneratedYangParser.SubmoduleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530366 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530367 }
368
369 @Override
370 public void enterBelongstoStatement(GeneratedYangParser.BelongstoStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530371 BelongsToListener.processBelongsToEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530372 }
373
374 @Override
375 public void exitBelongstoStatement(GeneratedYangParser.BelongstoStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530376 BelongsToListener.processBelongsToExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530377 }
378
379 @Override
380 public void enterBelongstoStatementBody(GeneratedYangParser.BelongstoStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530381 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530382 }
383
384 @Override
385 public void exitBelongstoStatementBody(GeneratedYangParser.BelongstoStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530386 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530387 }
388
389 @Override
390 public void enterExtensionStatement(GeneratedYangParser.ExtensionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530391 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530392 }
393
394 @Override
395 public void exitExtensionStatement(GeneratedYangParser.ExtensionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530396 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530397 }
398
399 @Override
400 public void enterExtensionBody(GeneratedYangParser.ExtensionBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530401 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530402 }
403
404 @Override
405 public void exitExtensionBody(GeneratedYangParser.ExtensionBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530406 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530407 }
408
409 @Override
410 public void enterArgumentStatement(GeneratedYangParser.ArgumentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530411 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530412 }
413
414 @Override
415 public void exitArgumentStatement(GeneratedYangParser.ArgumentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530416 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530417 }
418
419 @Override
420 public void enterArgumentBody(GeneratedYangParser.ArgumentBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530421 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530422 }
423
424 @Override
425 public void exitArgumentBody(GeneratedYangParser.ArgumentBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530426 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530427 }
428
429 @Override
430 public void enterYinElementStatement(GeneratedYangParser.YinElementStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530431 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530432 }
433
434 @Override
435 public void exitYinElementStatement(GeneratedYangParser.YinElementStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530436 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530437 }
438
439 @Override
440 public void enterIdentityStatement(GeneratedYangParser.IdentityStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530441 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530442 }
443
444 @Override
445 public void exitIdentityStatement(GeneratedYangParser.IdentityStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530446 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530447 }
448
449 @Override
450 public void enterIdentityBody(GeneratedYangParser.IdentityBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530451 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530452 }
453
454 @Override
455 public void exitIdentityBody(GeneratedYangParser.IdentityBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530456 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530457 }
458
459 @Override
460 public void enterBaseStatement(GeneratedYangParser.BaseStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530461 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530462 }
463
464 @Override
465 public void exitBaseStatement(GeneratedYangParser.BaseStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530466 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530467 }
468
469 @Override
470 public void enterFeatureStatement(GeneratedYangParser.FeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530471 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530472 }
473
474 @Override
475 public void exitFeatureStatement(GeneratedYangParser.FeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530476 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530477 }
478
479 @Override
480 public void enterFeatureBody(GeneratedYangParser.FeatureBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530481 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530482 }
483
484 @Override
485 public void exitFeatureBody(GeneratedYangParser.FeatureBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530486 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530487 }
488
489 @Override
490 public void enterDataDefStatement(GeneratedYangParser.DataDefStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530491 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530492 }
493
494 @Override
495 public void exitDataDefStatement(GeneratedYangParser.DataDefStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530496 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530497 }
498
499 @Override
500 public void enterIfFeatureStatement(GeneratedYangParser.IfFeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530501 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530502 }
503
504 @Override
505 public void exitIfFeatureStatement(GeneratedYangParser.IfFeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530506 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530507 }
508
509 @Override
510 public void enterUnitsStatement(GeneratedYangParser.UnitsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530511 UnitsListener.processUnitsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530512 }
513
514 @Override
515 public void exitUnitsStatement(GeneratedYangParser.UnitsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530516 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530517 }
518
519 @Override
520 public void enterTypedefStatement(GeneratedYangParser.TypedefStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530521 TypeDefListener.processTypeDefEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530522 }
523
524 @Override
525 public void exitTypedefStatement(GeneratedYangParser.TypedefStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530526 TypeDefListener.processTypeDefExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530527 }
528
529 @Override
530 public void enterTypeStatement(GeneratedYangParser.TypeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530531 TypeListener.processTypeEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530532 }
533
534 @Override
535 public void exitTypeStatement(GeneratedYangParser.TypeStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530536 TypeListener.processTypeExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530537 }
538
539 @Override
540 public void enterTypeBodyStatements(GeneratedYangParser.TypeBodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530541 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530542 }
543
544 @Override
545 public void exitTypeBodyStatements(GeneratedYangParser.TypeBodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530546 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530547 }
548
549 @Override
550 public void enterNumericalRestrictions(GeneratedYangParser.NumericalRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530551 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530552 }
553
554 @Override
555 public void exitNumericalRestrictions(GeneratedYangParser.NumericalRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530556 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530557 }
558
559 @Override
560 public void enterRangeStatement(GeneratedYangParser.RangeStatementContext ctx) {
Vidyashree Rama0b920732016-03-29 09:52:22 +0530561 RangeRestrictionListener.processRangeRestrictionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530562 }
563
564 @Override
565 public void exitRangeStatement(GeneratedYangParser.RangeStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530566 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530567 }
568
569 @Override
570 public void enterCommonStatements(GeneratedYangParser.CommonStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530571 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530572 }
573
574 @Override
575 public void exitCommonStatements(GeneratedYangParser.CommonStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530576 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530577 }
578
579 @Override
580 public void enterStringRestrictions(GeneratedYangParser.StringRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530581 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530582 }
583
584 @Override
585 public void exitStringRestrictions(GeneratedYangParser.StringRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530586 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530587 }
588
589 @Override
590 public void enterLengthStatement(GeneratedYangParser.LengthStatementContext ctx) {
Vidyashree Ramaa2f73982016-04-12 23:33:33 +0530591 LengthRestrictionListener.processLengthRestrictionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530592 }
593
594 @Override
595 public void exitLengthStatement(GeneratedYangParser.LengthStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530596 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530597 }
598
599 @Override
600 public void enterPatternStatement(GeneratedYangParser.PatternStatementContext ctx) {
Vidyashree Ramaa2f73982016-04-12 23:33:33 +0530601 PatternRestrictionListener.processPatternRestrictionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530602 }
603
604 @Override
605 public void exitPatternStatement(GeneratedYangParser.PatternStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530606 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530607 }
608
609 @Override
610 public void enterDefaultStatement(GeneratedYangParser.DefaultStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530611 DefaultListener.processDefaultEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530612 }
613
614 @Override
615 public void exitDefaultStatement(GeneratedYangParser.DefaultStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530616 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530617 }
618
619 @Override
620 public void enterEnumSpecification(GeneratedYangParser.EnumSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530621 EnumerationListener.processEnumerationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530622 }
623
624 @Override
625 public void exitEnumSpecification(GeneratedYangParser.EnumSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530626 EnumerationListener.processEnumerationExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530627 }
628
629 @Override
630 public void enterEnumStatement(GeneratedYangParser.EnumStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530631 EnumListener.processEnumEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530632 }
633
634 @Override
635 public void exitEnumStatement(GeneratedYangParser.EnumStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530636 EnumListener.processEnumExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530637 }
638
639 @Override
640 public void enterEnumStatementBody(GeneratedYangParser.EnumStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530641 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530642 }
643
644 @Override
645 public void exitEnumStatementBody(GeneratedYangParser.EnumStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530646 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530647 }
648
649 @Override
650 public void enterLeafrefSpecification(GeneratedYangParser.LeafrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530651 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530652 }
653
654 @Override
655 public void exitLeafrefSpecification(GeneratedYangParser.LeafrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530656 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530657 }
658
659 @Override
660 public void enterPathStatement(GeneratedYangParser.PathStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530661 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530662 }
663
664 @Override
665 public void exitPathStatement(GeneratedYangParser.PathStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530666 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530667 }
668
669 @Override
670 public void enterRequireInstanceStatement(GeneratedYangParser.RequireInstanceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530671 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530672 }
673
674 @Override
675 public void exitRequireInstanceStatement(GeneratedYangParser.RequireInstanceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530676 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530677 }
678
679 @Override
680 public void enterInstanceIdentifierSpecification(GeneratedYangParser.InstanceIdentifierSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530681 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530682 }
683
684 @Override
685 public void exitInstanceIdentifierSpecification(GeneratedYangParser.InstanceIdentifierSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530686 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530687 }
688
689 @Override
690 public void enterIdentityrefSpecification(GeneratedYangParser.IdentityrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530691 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530692 }
693
694 @Override
695 public void exitIdentityrefSpecification(GeneratedYangParser.IdentityrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530696 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530697 }
698
699 @Override
700 public void enterUnionSpecification(GeneratedYangParser.UnionSpecificationContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530701 UnionListener.processUnionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530702 }
703
704 @Override
705 public void exitUnionSpecification(GeneratedYangParser.UnionSpecificationContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530706 UnionListener.processUnionExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530707 }
708
709 @Override
710 public void enterBitsSpecification(GeneratedYangParser.BitsSpecificationContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530711 BitsListener.processBitsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530712 }
713
714 @Override
715 public void exitBitsSpecification(GeneratedYangParser.BitsSpecificationContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530716 BitsListener.processBitsExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530717 }
718
719 @Override
720 public void enterBitStatement(GeneratedYangParser.BitStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530721 BitListener.processBitEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530722 }
723
724 @Override
725 public void exitBitStatement(GeneratedYangParser.BitStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530726 BitListener.processBitExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530727 }
728
729 @Override
730 public void enterBitBodyStatement(GeneratedYangParser.BitBodyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530731 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530732 }
733
734 @Override
735 public void exitBitBodyStatement(GeneratedYangParser.BitBodyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530736 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530737 }
738
739 @Override
740 public void enterPositionStatement(GeneratedYangParser.PositionStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530741 PositionListener.processPositionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530742 }
743
744 @Override
745 public void exitPositionStatement(GeneratedYangParser.PositionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530746 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530747 }
748
749 @Override
750 public void enterStatusStatement(GeneratedYangParser.StatusStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530751 StatusListener.processStatusEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530752 }
753
754 @Override
755 public void exitStatusStatement(GeneratedYangParser.StatusStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530756 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530757 }
758
759 @Override
760 public void enterConfigStatement(GeneratedYangParser.ConfigStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530761 ConfigListener.processConfigEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530762 }
763
764 @Override
765 public void exitConfigStatement(GeneratedYangParser.ConfigStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530766 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530767 }
768
769 @Override
770 public void enterMandatoryStatement(GeneratedYangParser.MandatoryStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530771 MandatoryListener.processMandatoryEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530772 }
773
774 @Override
775 public void exitMandatoryStatement(GeneratedYangParser.MandatoryStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530776 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530777 }
778
779 @Override
780 public void enterPresenceStatement(GeneratedYangParser.PresenceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530781 PresenceListener.processPresenceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530782 }
783
784 @Override
785 public void exitPresenceStatement(GeneratedYangParser.PresenceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530786 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530787 }
788
789 @Override
790 public void enterOrderedByStatement(GeneratedYangParser.OrderedByStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530791 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530792 }
793
794 @Override
795 public void exitOrderedByStatement(GeneratedYangParser.OrderedByStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530796 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530797 }
798
799 @Override
800 public void enterMustStatement(GeneratedYangParser.MustStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530801 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530802 }
803
804 @Override
805 public void exitMustStatement(GeneratedYangParser.MustStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530806 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530807 }
808
809 @Override
810 public void enterErrorMessageStatement(GeneratedYangParser.ErrorMessageStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530811 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530812 }
813
814 @Override
815 public void exitErrorMessageStatement(GeneratedYangParser.ErrorMessageStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530816 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530817 }
818
819 @Override
820 public void enterErrorAppTagStatement(GeneratedYangParser.ErrorAppTagStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530821 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530822 }
823
824 @Override
825 public void exitErrorAppTagStatement(GeneratedYangParser.ErrorAppTagStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530826 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530827 }
828
829 @Override
830 public void enterMinElementsStatement(GeneratedYangParser.MinElementsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530831 MinElementsListener.processMinElementsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530832 }
833
834 @Override
835 public void exitMinElementsStatement(GeneratedYangParser.MinElementsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530836 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530837 }
838
839 @Override
840 public void enterMaxElementsStatement(GeneratedYangParser.MaxElementsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530841 MaxElementsListener.processMaxElementsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530842 }
843
844 @Override
845 public void exitMaxElementsStatement(GeneratedYangParser.MaxElementsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530846 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530847 }
848
849 @Override
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530850 public void enterValueStatement(GeneratedYangParser.ValueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530851 ValueListener.processValueEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530852 }
853
854 @Override
855 public void exitValueStatement(GeneratedYangParser.ValueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530856 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530857 }
858
859 @Override
860 public void enterGroupingStatement(GeneratedYangParser.GroupingStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530861 GroupingListener.processGroupingEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530862 }
863
864 @Override
865 public void exitGroupingStatement(GeneratedYangParser.GroupingStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530866 GroupingListener.processGroupingExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530867 }
868
869 @Override
870 public void enterContainerStatement(GeneratedYangParser.ContainerStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530871 ContainerListener.processContainerEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530872 }
873
874 @Override
875 public void exitContainerStatement(GeneratedYangParser.ContainerStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530876 ContainerListener.processContainerExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530877 }
878
879 @Override
880 public void enterLeafStatement(GeneratedYangParser.LeafStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530881 LeafListener.processLeafEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530882 }
883
884 @Override
885 public void exitLeafStatement(GeneratedYangParser.LeafStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530886 LeafListener.processLeafExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530887 }
888
889 @Override
890 public void enterLeafListStatement(GeneratedYangParser.LeafListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530891 LeafListListener.processLeafListEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530892 }
893
894 @Override
895 public void exitLeafListStatement(GeneratedYangParser.LeafListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530896 LeafListListener.processLeafListExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530897 }
898
899 @Override
900 public void enterListStatement(GeneratedYangParser.ListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530901 ListListener.processListEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530902 }
903
904 @Override
905 public void exitListStatement(GeneratedYangParser.ListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530906 ListListener.processListExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530907 }
908
909 @Override
910 public void enterKeyStatement(GeneratedYangParser.KeyStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530911 KeyListener.processKeyEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530912 }
913
914 @Override
915 public void exitKeyStatement(GeneratedYangParser.KeyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530916 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530917 }
918
919 @Override
920 public void enterUniqueStatement(GeneratedYangParser.UniqueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530921 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530922 }
923
924 @Override
925 public void exitUniqueStatement(GeneratedYangParser.UniqueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530926 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530927 }
928
929 @Override
930 public void enterChoiceStatement(GeneratedYangParser.ChoiceStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530931 ChoiceListener.processChoiceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530932 }
933
934 @Override
935 public void exitChoiceStatement(GeneratedYangParser.ChoiceStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530936 ChoiceListener.processChoiceExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530937 }
938
939 @Override
940 public void enterShortCaseStatement(GeneratedYangParser.ShortCaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530941 ShortCaseListener.processShortCaseEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530942 }
943
944 @Override
945 public void exitShortCaseStatement(GeneratedYangParser.ShortCaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530946 ShortCaseListener.processShortCaseExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530947 }
948
949 @Override
950 public void enterCaseStatement(GeneratedYangParser.CaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530951 CaseListener.processCaseEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530952 }
953
954 @Override
955 public void exitCaseStatement(GeneratedYangParser.CaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530956 CaseListener.processCaseExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530957 }
958
959 @Override
960 public void enterUsesStatement(GeneratedYangParser.UsesStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530961 UsesListener.processUsesEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530962 }
963
964 @Override
965 public void exitUsesStatement(GeneratedYangParser.UsesStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530966 UsesListener.processUsesExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530967 }
968
969 @Override
970 public void enterRefineStatement(GeneratedYangParser.RefineStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530971 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530972 }
973
974 @Override
975 public void exitRefineStatement(GeneratedYangParser.RefineStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530976 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530977 }
978
979 @Override
980 public void enterRefineContainerStatements(GeneratedYangParser.RefineContainerStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530981 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530982 }
983
984 @Override
985 public void exitRefineContainerStatements(GeneratedYangParser.RefineContainerStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530986 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530987 }
988
989 @Override
990 public void enterRefineLeafStatements(GeneratedYangParser.RefineLeafStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530991 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530992 }
993
994 @Override
995 public void exitRefineLeafStatements(GeneratedYangParser.RefineLeafStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530996 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530997 }
998
999 @Override
1000 public void enterRefineLeafListStatements(GeneratedYangParser.RefineLeafListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301001 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301002 }
1003
1004 @Override
1005 public void exitRefineLeafListStatements(GeneratedYangParser.RefineLeafListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301006 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301007 }
1008
1009 @Override
1010 public void enterRefineListStatements(GeneratedYangParser.RefineListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301011 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301012 }
1013
1014 @Override
1015 public void exitRefineListStatements(GeneratedYangParser.RefineListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301016 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301017 }
1018
1019 @Override
1020 public void enterRefineChoiceStatements(GeneratedYangParser.RefineChoiceStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301021 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301022 }
1023
1024 @Override
1025 public void exitRefineChoiceStatements(GeneratedYangParser.RefineChoiceStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301026 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301027 }
1028
1029 @Override
1030 public void enterRefineCaseStatements(GeneratedYangParser.RefineCaseStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301031 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301032 }
1033
1034 @Override
1035 public void exitRefineCaseStatements(GeneratedYangParser.RefineCaseStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301036 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301037 }
1038
1039 @Override
1040 public void enterUsesAugmentStatement(GeneratedYangParser.UsesAugmentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301041 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301042 }
1043
1044 @Override
1045 public void exitUsesAugmentStatement(GeneratedYangParser.UsesAugmentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301046 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301047 }
1048
1049 @Override
1050 public void enterAugmentStatement(GeneratedYangParser.AugmentStatementContext ctx) {
Vidyashree Rama25bf4d02016-03-29 14:37:02 +05301051 AugmentListener.processAugmentEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301052 }
1053
1054 @Override
1055 public void exitAugmentStatement(GeneratedYangParser.AugmentStatementContext ctx) {
Vidyashree Rama25bf4d02016-03-29 14:37:02 +05301056 AugmentListener.processAugmentExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301057 }
1058
1059 @Override
1060 public void enterWhenStatement(GeneratedYangParser.WhenStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301061 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301062 }
1063
1064 @Override
1065 public void exitWhenStatement(GeneratedYangParser.WhenStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301066 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301067 }
1068
1069 @Override
1070 public void enterRpcStatement(GeneratedYangParser.RpcStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301071 RpcListener.processRpcEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301072 }
1073
1074 @Override
1075 public void exitRpcStatement(GeneratedYangParser.RpcStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301076 RpcListener.processRpcExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301077 }
1078
1079 @Override
1080 public void enterInputStatement(GeneratedYangParser.InputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301081 InputListener.processInputEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301082 }
1083
1084 @Override
1085 public void exitInputStatement(GeneratedYangParser.InputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301086 InputListener.processInputExit(this, ctx);
1087 }
1088
1089 @Override
1090 public void enterInputStatementBody(GeneratedYangParser.InputStatementBodyContext ctx) {
1091 }
1092
1093 @Override
1094 public void exitInputStatementBody(GeneratedYangParser.InputStatementBodyContext ctx) {
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301095 }
1096
1097 @Override
1098 public void enterOutputStatement(GeneratedYangParser.OutputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301099 OutputListener.processOutputEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301100 }
1101
1102 @Override
1103 public void exitOutputStatement(GeneratedYangParser.OutputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301104 OutputListener.processOutputExit(this, ctx);
1105 }
1106
1107 @Override
1108 public void enterOutputStatementBody(GeneratedYangParser.OutputStatementBodyContext ctx) {
1109 }
1110
1111 @Override
1112 public void exitOutputStatementBody(GeneratedYangParser.OutputStatementBodyContext ctx) {
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301113 }
1114
1115 @Override
1116 public void enterNotificationStatement(GeneratedYangParser.NotificationStatementContext ctx) {
Vidyashree Rama506cbe12016-03-28 11:59:27 +05301117 NotificationListener.processNotificationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301118 }
1119
1120 @Override
1121 public void exitNotificationStatement(GeneratedYangParser.NotificationStatementContext ctx) {
Vidyashree Rama506cbe12016-03-28 11:59:27 +05301122 NotificationListener.processNotificationExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301123 }
1124
1125 @Override
1126 public void enterDeviationStatement(GeneratedYangParser.DeviationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301127 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301128 }
1129
1130 @Override
1131 public void exitDeviationStatement(GeneratedYangParser.DeviationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301132 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301133 }
1134
1135 @Override
1136 public void enterDeviateNotSupportedStatement(GeneratedYangParser.DeviateNotSupportedStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301137 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301138 }
1139
1140 @Override
1141 public void exitDeviateNotSupportedStatement(GeneratedYangParser.DeviateNotSupportedStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301142 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301143 }
1144
1145 @Override
1146 public void enterDeviateAddStatement(GeneratedYangParser.DeviateAddStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301147 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301148 }
1149
1150 @Override
1151 public void exitDeviateAddStatement(GeneratedYangParser.DeviateAddStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301152 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301153 }
1154
1155 @Override
1156 public void enterDeviateDeleteStatement(GeneratedYangParser.DeviateDeleteStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301157 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301158 }
1159
1160 @Override
1161 public void exitDeviateDeleteStatement(GeneratedYangParser.DeviateDeleteStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301162 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301163 }
1164
1165 @Override
1166 public void enterDeviateReplaceStatement(GeneratedYangParser.DeviateReplaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301167 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301168 }
1169
1170 @Override
1171 public void exitDeviateReplaceStatement(GeneratedYangParser.DeviateReplaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301172 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301173 }
1174
1175 @Override
1176 public void enterString(GeneratedYangParser.StringContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301177 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301178 }
1179
1180 @Override
1181 public void exitString(GeneratedYangParser.StringContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301182 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301183 }
1184
1185 @Override
Vidyashree Rama468f8282016-03-04 19:08:35 +05301186 public void enterIdentifier(GeneratedYangParser.IdentifierContext ctx) {
1187 // TODO: implement the method.
1188 }
1189
1190 @Override
1191 public void exitIdentifier(GeneratedYangParser.IdentifierContext ctx) {
1192 // TODO: implement the method.
1193 }
1194
1195 @Override
1196 public void enterDateArgumentString(GeneratedYangParser.DateArgumentStringContext ctx) {
1197 // TODO: implement the method.
1198 }
1199
1200 @Override
1201 public void exitDateArgumentString(GeneratedYangParser.DateArgumentStringContext ctx) {
1202 // TODO: implement the method.
1203 }
1204
1205 @Override
Vidyashree Rama8a6b1282016-03-15 10:18:25 +05301206 public void enterRange(GeneratedYangParser.RangeContext ctx) {
1207 // TODO: implement the method.
1208 }
1209
1210 @Override
1211 public void exitRange(GeneratedYangParser.RangeContext ctx) {
1212 // TODO: implement the method.
1213 }
1214
1215 @Override
1216 public void enterLength(GeneratedYangParser.LengthContext ctx) {
1217 // TODO: implement the method.
1218 }
1219
1220 @Override
1221 public void exitLength(GeneratedYangParser.LengthContext ctx) {
1222 // TODO: implement the method.
1223 }
1224
1225 @Override
1226 public void enterPath(GeneratedYangParser.PathContext ctx) {
1227 // TODO: implement the method.
1228 }
1229
1230 @Override
1231 public void exitPath(GeneratedYangParser.PathContext ctx) {
1232 // TODO: implement the method.
1233 }
1234
1235 @Override
1236 public void enterPosition(GeneratedYangParser.PositionContext ctx) {
1237 // TODO: implement the method.
1238 }
1239
1240 @Override
1241 public void exitPosition(GeneratedYangParser.PositionContext ctx) {
1242 // TODO: implement the method.
1243 }
1244
1245 @Override
1246 public void enterStatus(GeneratedYangParser.StatusContext ctx) {
1247 // TODO: implement the method.
1248 }
1249
1250 @Override
1251 public void exitStatus(GeneratedYangParser.StatusContext ctx) {
1252 // TODO: implement the method.
1253 }
1254
1255 @Override
1256 public void enterConfig(GeneratedYangParser.ConfigContext ctx) {
1257 // TODO: implement the method.
1258 }
1259
1260 @Override
1261 public void exitConfig(GeneratedYangParser.ConfigContext ctx) {
1262 // TODO: implement the method.
1263 }
1264
1265 @Override
1266 public void enterMandatory(GeneratedYangParser.MandatoryContext ctx) {
1267 // TODO: implement the method.
1268 }
1269
1270 @Override
1271 public void exitMandatory(GeneratedYangParser.MandatoryContext ctx) {
1272 // TODO: implement the method.
1273 }
1274
1275 @Override
1276 public void enterOrderedBy(GeneratedYangParser.OrderedByContext ctx) {
1277 // TODO: implement the method.
1278 }
1279
1280 @Override
1281 public void exitOrderedBy(GeneratedYangParser.OrderedByContext ctx) {
1282 // TODO: implement the method.
1283 }
1284
1285 @Override
1286 public void enterMinValue(GeneratedYangParser.MinValueContext ctx) {
1287 // TODO: implement the method.
1288 }
1289
1290 @Override
1291 public void exitMinValue(GeneratedYangParser.MinValueContext ctx) {
1292 // TODO: implement the method.
1293 }
1294
1295 @Override
1296 public void enterMaxValue(GeneratedYangParser.MaxValueContext ctx) {
1297 // TODO: implement the method.
1298 }
1299
1300 @Override
1301 public void exitMaxValue(GeneratedYangParser.MaxValueContext ctx) {
1302 // TODO: implement the method.
1303 }
1304
1305 @Override
1306 public void enterKey(GeneratedYangParser.KeyContext ctx) {
1307 // TODO: implement the method.
1308 }
1309
1310 @Override
1311 public void exitKey(GeneratedYangParser.KeyContext ctx) {
1312 // TODO: implement the method.
1313 }
1314
1315 @Override
1316 public void enterUnique(GeneratedYangParser.UniqueContext ctx) {
1317 // TODO: implement the method.
1318 }
1319
1320 @Override
1321 public void exitUnique(GeneratedYangParser.UniqueContext ctx) {
1322 // TODO: implement the method.
1323 }
1324
1325 @Override
1326 public void enterRefine(GeneratedYangParser.RefineContext ctx) {
1327 // TODO: implement the method.
1328 }
1329
1330 @Override
1331 public void exitRefine(GeneratedYangParser.RefineContext ctx) {
1332 // TODO: implement the method.
1333 }
1334
1335 @Override
1336 public void enterAugment(GeneratedYangParser.AugmentContext ctx) {
1337 // TODO: implement the method.
1338 }
1339
1340 @Override
1341 public void exitAugment(GeneratedYangParser.AugmentContext ctx) {
1342 // TODO: implement the method.
1343 }
1344
1345 @Override
1346 public void enterDeviation(GeneratedYangParser.DeviationContext ctx) {
1347 // TODO: implement the method.
1348 }
1349
1350 @Override
1351 public void exitDeviation(GeneratedYangParser.DeviationContext ctx) {
1352 // TODO: implement the method.
1353 }
1354
1355 @Override
1356 public void enterYangConstruct(GeneratedYangParser.YangConstructContext ctx) {
1357 // TODO: implement the method.
1358 }
1359
1360 @Override
1361 public void exitYangConstruct(GeneratedYangParser.YangConstructContext ctx) {
1362 // TODO: implement the method.
1363 }
1364
1365 @Override
1366 public void enterVersion(GeneratedYangParser.VersionContext ctx) {
1367 // TODO: implement the method.
1368 }
1369
1370 @Override
1371 public void exitVersion(GeneratedYangParser.VersionContext ctx) {
1372 // TODO: implement the method.
1373 }
1374
1375 @Override
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301376 public void visitTerminal(TerminalNode terminalNode) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301377 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301378 }
1379
1380 @Override
1381 public void visitErrorNode(ErrorNode errorNode) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301382 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301383 }
1384
1385 @Override
1386 public void enterEveryRule(ParserRuleContext parserRuleContext) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301387 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301388 }
1389
1390 @Override
1391 public void exitEveryRule(ParserRuleContext parserRuleContext) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301392 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301393 }
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301394}