blob: b6ab5955a93961abadeda1d442d967c6f10093b6 [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;
49import org.onosproject.yangutils.parser.impl.listeners.ListListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053050import org.onosproject.yangutils.parser.impl.listeners.MandatoryListener;
51import org.onosproject.yangutils.parser.impl.listeners.MaxElementsListener;
52import org.onosproject.yangutils.parser.impl.listeners.MinElementsListener;
53import org.onosproject.yangutils.parser.impl.listeners.ModuleListener;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053054import org.onosproject.yangutils.parser.impl.listeners.NotificationListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053055import org.onosproject.yangutils.parser.impl.listeners.NamespaceListener;
56import org.onosproject.yangutils.parser.impl.listeners.OrganizationListener;
Vidyashree Rama6a72b792016-03-29 12:00:42 +053057import org.onosproject.yangutils.parser.impl.listeners.OutputListener;
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +053058import org.onosproject.yangutils.parser.impl.listeners.PositionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053059import org.onosproject.yangutils.parser.impl.listeners.PrefixListener;
60import org.onosproject.yangutils.parser.impl.listeners.PresenceListener;
Vidyashree Rama0b920732016-03-29 09:52:22 +053061import org.onosproject.yangutils.parser.impl.listeners.RangeRestrictionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053062import org.onosproject.yangutils.parser.impl.listeners.ReferenceListener;
63import org.onosproject.yangutils.parser.impl.listeners.RevisionDateListener;
64import org.onosproject.yangutils.parser.impl.listeners.RevisionListener;
Vidyashree Rama6a72b792016-03-29 12:00:42 +053065import org.onosproject.yangutils.parser.impl.listeners.RpcListener;
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053066import org.onosproject.yangutils.parser.impl.listeners.ShortCaseListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053067import org.onosproject.yangutils.parser.impl.listeners.StatusListener;
68import org.onosproject.yangutils.parser.impl.listeners.SubModuleListener;
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +053069import org.onosproject.yangutils.parser.impl.listeners.TypeDefListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053070import org.onosproject.yangutils.parser.impl.listeners.TypeListener;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053071import org.onosproject.yangutils.parser.impl.listeners.UnionListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053072import org.onosproject.yangutils.parser.impl.listeners.UnitsListener;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053073import org.onosproject.yangutils.parser.impl.listeners.UsesListener;
Gaurav Agrawal9c512e02016-02-25 04:37:05 +053074import org.onosproject.yangutils.parser.impl.listeners.ValueListener;
Vidyashree Rama19d8e972016-02-13 12:36:40 +053075import org.onosproject.yangutils.parser.impl.listeners.VersionListener;
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053076
77/**
78 * ANTLR generates a parse-tree listener interface that responds to events
79 * triggered by the built-in tree walker. The methods in listener are just
80 * callbacks. This class implements listener interface and generates the
81 * corresponding data model tree.
82 */
83public class TreeWalkListener implements GeneratedYangListener {
84
85 // List of parsable node entries maintained in stack
86 private Stack<Parsable> parsedDataStack = new Stack<>();
87
88 // Parse tree root node
89 private YangNode rootNode;
90
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +053091 /**
92 * Returns stack of parsable data.
93 *
94 * @return stack of parsable data
95 */
96 public Stack<Parsable> getParsedDataStack() {
97 return parsedDataStack;
98 }
99
100 /**
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530101 * Returns root node.
102 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530103 * @return rootNode of data model tree
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530104 */
105 public YangNode getRootNode() {
106 return rootNode;
107 }
108
109 /**
110 * Set parsed data stack.
111 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530112 * @param parsedDataStack stack of parsable data objects
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530113 */
114 public void setParsedDataStack(Stack<Parsable> parsedDataStack) {
115 this.parsedDataStack = parsedDataStack;
116 }
117
118 /**
119 * Set root node.
120 *
Gaurav Agrawal8e8770a2016-02-27 03:57:50 +0530121 * @param rootNode root node of data model tree
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530122 */
123 public void setRootNode(YangNode rootNode) {
124 this.rootNode = rootNode;
125 }
126
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530127 @Override
128 public void enterYangfile(GeneratedYangParser.YangfileContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530129 BaseFileListener.processYangFileEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530130 }
131
132 @Override
133 public void exitYangfile(GeneratedYangParser.YangfileContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530134 BaseFileListener.processYangFileExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530135 }
136
137 @Override
138 public void enterModuleStatement(GeneratedYangParser.ModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530139 ModuleListener.processModuleEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530140 }
141
142 @Override
143 public void exitModuleStatement(GeneratedYangParser.ModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530144 ModuleListener.processModuleExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530145 }
146
147 @Override
148 public void enterModuleBody(GeneratedYangParser.ModuleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530149 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530150 }
151
152 @Override
153 public void exitModuleBody(GeneratedYangParser.ModuleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530154 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530155 }
156
157 @Override
158 public void enterModuleHeaderStatement(GeneratedYangParser.ModuleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530159 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530160 }
161
162 @Override
163 public void exitModuleHeaderStatement(GeneratedYangParser.ModuleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530164 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530165 }
166
167 @Override
168 public void enterLinkageStatements(GeneratedYangParser.LinkageStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530169 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530170 }
171
172 @Override
173 public void exitLinkageStatements(GeneratedYangParser.LinkageStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530174 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530175 }
176
177 @Override
178 public void enterMetaStatements(GeneratedYangParser.MetaStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530179 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530180 }
181
182 @Override
183 public void exitMetaStatements(GeneratedYangParser.MetaStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530184 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530185 }
186
187 @Override
188 public void enterRevisionStatements(GeneratedYangParser.RevisionStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530189 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530190 }
191
192 @Override
193 public void exitRevisionStatements(GeneratedYangParser.RevisionStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530194 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530195 }
196
197 @Override
198 public void enterBodyStatements(GeneratedYangParser.BodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530199 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530200 }
201
202 @Override
203 public void exitBodyStatements(GeneratedYangParser.BodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530204 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530205 }
206
207 @Override
208 public void enterYangVersionStatement(GeneratedYangParser.YangVersionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530209 VersionListener.processVersionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530210 }
211
212 @Override
213 public void exitYangVersionStatement(GeneratedYangParser.YangVersionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530214 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530215 }
216
217 @Override
218 public void enterNamespaceStatement(GeneratedYangParser.NamespaceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530219 NamespaceListener.processNamespaceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530220 }
221
222 @Override
223 public void exitNamespaceStatement(GeneratedYangParser.NamespaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530224 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530225 }
226
227 @Override
228 public void enterPrefixStatement(GeneratedYangParser.PrefixStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530229 PrefixListener.processPrefixEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530230 }
231
232 @Override
233 public void exitPrefixStatement(GeneratedYangParser.PrefixStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530234 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530235 }
236
237 @Override
238 public void enterImportStatement(GeneratedYangParser.ImportStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530239 ImportListener.processImportEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530240 }
241
242 @Override
243 public void exitImportStatement(GeneratedYangParser.ImportStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530244 ImportListener.processImportExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530245 }
246
247 @Override
248 public void enterImportStatementBody(GeneratedYangParser.ImportStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530249 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530250 }
251
252 @Override
253 public void exitImportStatementBody(GeneratedYangParser.ImportStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530254 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530255 }
256
257 @Override
258 public void enterRevisionDateStatement(GeneratedYangParser.RevisionDateStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530259 RevisionDateListener.processRevisionDateEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530260 }
261
262 @Override
263 public void exitRevisionDateStatement(GeneratedYangParser.RevisionDateStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530264 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530265 }
266
267 @Override
268 public void enterIncludeStatement(GeneratedYangParser.IncludeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530269 IncludeListener.processIncludeEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530270 }
271
272 @Override
273 public void exitIncludeStatement(GeneratedYangParser.IncludeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530274 IncludeListener.processIncludeExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530275 }
276
277 @Override
278 public void enterOrganizationStatement(GeneratedYangParser.OrganizationStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530279 OrganizationListener.processOrganizationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530280 }
281
282 @Override
283 public void exitOrganizationStatement(GeneratedYangParser.OrganizationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530284 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530285 }
286
287 @Override
288 public void enterContactStatement(GeneratedYangParser.ContactStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530289 ContactListener.processContactEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530290 }
291
292 @Override
293 public void exitContactStatement(GeneratedYangParser.ContactStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530294 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530295 }
296
297 @Override
298 public void enterDescriptionStatement(GeneratedYangParser.DescriptionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530299 DescriptionListener.processDescriptionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530300 }
301
302 @Override
303 public void exitDescriptionStatement(GeneratedYangParser.DescriptionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530304 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530305 }
306
307 @Override
308 public void enterReferenceStatement(GeneratedYangParser.ReferenceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530309 ReferenceListener.processReferenceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530310 }
311
312 @Override
313 public void exitReferenceStatement(GeneratedYangParser.ReferenceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530314 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530315 }
316
317 @Override
318 public void enterRevisionStatement(GeneratedYangParser.RevisionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530319 RevisionListener.processRevisionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530320 }
321
322 @Override
323 public void exitRevisionStatement(GeneratedYangParser.RevisionStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530324 RevisionListener.processRevisionExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530325 }
326
327 @Override
328 public void enterRevisionStatementBody(GeneratedYangParser.RevisionStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530329 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530330 }
331
332 @Override
333 public void exitRevisionStatementBody(GeneratedYangParser.RevisionStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530334 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530335 }
336
337 @Override
338 public void enterSubModuleStatement(GeneratedYangParser.SubModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530339 SubModuleListener.processSubModuleEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530340 }
341
342 @Override
343 public void exitSubModuleStatement(GeneratedYangParser.SubModuleStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530344 SubModuleListener.processSubModuleExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530345 }
346
347 @Override
348 public void enterSubmoduleBody(GeneratedYangParser.SubmoduleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530349 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530350 }
351
352 @Override
353 public void exitSubmoduleBody(GeneratedYangParser.SubmoduleBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530354 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530355 }
356
357 @Override
358 public void enterSubmoduleHeaderStatement(GeneratedYangParser.SubmoduleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530359 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530360 }
361
362 @Override
363 public void exitSubmoduleHeaderStatement(GeneratedYangParser.SubmoduleHeaderStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530364 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530365 }
366
367 @Override
368 public void enterBelongstoStatement(GeneratedYangParser.BelongstoStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530369 BelongsToListener.processBelongsToEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530370 }
371
372 @Override
373 public void exitBelongstoStatement(GeneratedYangParser.BelongstoStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530374 BelongsToListener.processBelongsToExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530375 }
376
377 @Override
378 public void enterBelongstoStatementBody(GeneratedYangParser.BelongstoStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530379 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530380 }
381
382 @Override
383 public void exitBelongstoStatementBody(GeneratedYangParser.BelongstoStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530384 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530385 }
386
387 @Override
388 public void enterExtensionStatement(GeneratedYangParser.ExtensionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530389 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530390 }
391
392 @Override
393 public void exitExtensionStatement(GeneratedYangParser.ExtensionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530394 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530395 }
396
397 @Override
398 public void enterExtensionBody(GeneratedYangParser.ExtensionBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530399 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530400 }
401
402 @Override
403 public void exitExtensionBody(GeneratedYangParser.ExtensionBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530404 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530405 }
406
407 @Override
408 public void enterArgumentStatement(GeneratedYangParser.ArgumentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530409 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530410 }
411
412 @Override
413 public void exitArgumentStatement(GeneratedYangParser.ArgumentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530414 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530415 }
416
417 @Override
418 public void enterArgumentBody(GeneratedYangParser.ArgumentBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530419 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530420 }
421
422 @Override
423 public void exitArgumentBody(GeneratedYangParser.ArgumentBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530424 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530425 }
426
427 @Override
428 public void enterYinElementStatement(GeneratedYangParser.YinElementStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530429 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530430 }
431
432 @Override
433 public void exitYinElementStatement(GeneratedYangParser.YinElementStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530434 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530435 }
436
437 @Override
438 public void enterIdentityStatement(GeneratedYangParser.IdentityStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530439 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530440 }
441
442 @Override
443 public void exitIdentityStatement(GeneratedYangParser.IdentityStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530444 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530445 }
446
447 @Override
448 public void enterIdentityBody(GeneratedYangParser.IdentityBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530449 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530450 }
451
452 @Override
453 public void exitIdentityBody(GeneratedYangParser.IdentityBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530454 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530455 }
456
457 @Override
458 public void enterBaseStatement(GeneratedYangParser.BaseStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530459 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530460 }
461
462 @Override
463 public void exitBaseStatement(GeneratedYangParser.BaseStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530464 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530465 }
466
467 @Override
468 public void enterFeatureStatement(GeneratedYangParser.FeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530469 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530470 }
471
472 @Override
473 public void exitFeatureStatement(GeneratedYangParser.FeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530474 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530475 }
476
477 @Override
478 public void enterFeatureBody(GeneratedYangParser.FeatureBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530479 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530480 }
481
482 @Override
483 public void exitFeatureBody(GeneratedYangParser.FeatureBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530484 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530485 }
486
487 @Override
488 public void enterDataDefStatement(GeneratedYangParser.DataDefStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530489 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530490 }
491
492 @Override
493 public void exitDataDefStatement(GeneratedYangParser.DataDefStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530494 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530495 }
496
497 @Override
498 public void enterIfFeatureStatement(GeneratedYangParser.IfFeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530499 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530500 }
501
502 @Override
503 public void exitIfFeatureStatement(GeneratedYangParser.IfFeatureStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530504 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530505 }
506
507 @Override
508 public void enterUnitsStatement(GeneratedYangParser.UnitsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530509 UnitsListener.processUnitsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530510 }
511
512 @Override
513 public void exitUnitsStatement(GeneratedYangParser.UnitsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530514 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530515 }
516
517 @Override
518 public void enterTypedefStatement(GeneratedYangParser.TypedefStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530519 TypeDefListener.processTypeDefEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530520 }
521
522 @Override
523 public void exitTypedefStatement(GeneratedYangParser.TypedefStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530524 TypeDefListener.processTypeDefExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530525 }
526
527 @Override
528 public void enterTypeStatement(GeneratedYangParser.TypeStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530529 TypeListener.processTypeEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530530 }
531
532 @Override
533 public void exitTypeStatement(GeneratedYangParser.TypeStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530534 TypeListener.processTypeExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530535 }
536
537 @Override
538 public void enterTypeBodyStatements(GeneratedYangParser.TypeBodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530539 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530540 }
541
542 @Override
543 public void exitTypeBodyStatements(GeneratedYangParser.TypeBodyStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530544 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530545 }
546
547 @Override
548 public void enterNumericalRestrictions(GeneratedYangParser.NumericalRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530549 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530550 }
551
552 @Override
553 public void exitNumericalRestrictions(GeneratedYangParser.NumericalRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530554 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530555 }
556
557 @Override
558 public void enterRangeStatement(GeneratedYangParser.RangeStatementContext ctx) {
Vidyashree Rama0b920732016-03-29 09:52:22 +0530559 RangeRestrictionListener.processRangeRestrictionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530560 }
561
562 @Override
563 public void exitRangeStatement(GeneratedYangParser.RangeStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530564 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530565 }
566
567 @Override
568 public void enterCommonStatements(GeneratedYangParser.CommonStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530569 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530570 }
571
572 @Override
573 public void exitCommonStatements(GeneratedYangParser.CommonStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530574 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530575 }
576
577 @Override
578 public void enterStringRestrictions(GeneratedYangParser.StringRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530579 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530580 }
581
582 @Override
583 public void exitStringRestrictions(GeneratedYangParser.StringRestrictionsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530584 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530585 }
586
587 @Override
588 public void enterLengthStatement(GeneratedYangParser.LengthStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530589 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530590 }
591
592 @Override
593 public void exitLengthStatement(GeneratedYangParser.LengthStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530594 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530595 }
596
597 @Override
598 public void enterPatternStatement(GeneratedYangParser.PatternStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530599 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530600 }
601
602 @Override
603 public void exitPatternStatement(GeneratedYangParser.PatternStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530604 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530605 }
606
607 @Override
608 public void enterDefaultStatement(GeneratedYangParser.DefaultStatementContext ctx) {
Gaurav Agrawalb5a1c132016-02-21 02:56:46 +0530609 DefaultListener.processDefaultEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530610 }
611
612 @Override
613 public void exitDefaultStatement(GeneratedYangParser.DefaultStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530614 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530615 }
616
617 @Override
618 public void enterEnumSpecification(GeneratedYangParser.EnumSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530619 EnumerationListener.processEnumerationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530620 }
621
622 @Override
623 public void exitEnumSpecification(GeneratedYangParser.EnumSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530624 EnumerationListener.processEnumerationExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530625 }
626
627 @Override
628 public void enterEnumStatement(GeneratedYangParser.EnumStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530629 EnumListener.processEnumEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530630 }
631
632 @Override
633 public void exitEnumStatement(GeneratedYangParser.EnumStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530634 EnumListener.processEnumExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530635 }
636
637 @Override
638 public void enterEnumStatementBody(GeneratedYangParser.EnumStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530639 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530640 }
641
642 @Override
643 public void exitEnumStatementBody(GeneratedYangParser.EnumStatementBodyContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530644 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530645 }
646
647 @Override
648 public void enterLeafrefSpecification(GeneratedYangParser.LeafrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530649 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530650 }
651
652 @Override
653 public void exitLeafrefSpecification(GeneratedYangParser.LeafrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530654 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530655 }
656
657 @Override
658 public void enterPathStatement(GeneratedYangParser.PathStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530659 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530660 }
661
662 @Override
663 public void exitPathStatement(GeneratedYangParser.PathStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530664 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530665 }
666
667 @Override
668 public void enterRequireInstanceStatement(GeneratedYangParser.RequireInstanceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530669 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530670 }
671
672 @Override
673 public void exitRequireInstanceStatement(GeneratedYangParser.RequireInstanceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530674 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530675 }
676
677 @Override
678 public void enterInstanceIdentifierSpecification(GeneratedYangParser.InstanceIdentifierSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530679 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530680 }
681
682 @Override
683 public void exitInstanceIdentifierSpecification(GeneratedYangParser.InstanceIdentifierSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530684 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530685 }
686
687 @Override
688 public void enterIdentityrefSpecification(GeneratedYangParser.IdentityrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530689 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530690 }
691
692 @Override
693 public void exitIdentityrefSpecification(GeneratedYangParser.IdentityrefSpecificationContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530694 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530695 }
696
697 @Override
698 public void enterUnionSpecification(GeneratedYangParser.UnionSpecificationContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530699 UnionListener.processUnionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530700 }
701
702 @Override
703 public void exitUnionSpecification(GeneratedYangParser.UnionSpecificationContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530704 UnionListener.processUnionExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530705 }
706
707 @Override
708 public void enterBitsSpecification(GeneratedYangParser.BitsSpecificationContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530709 BitsListener.processBitsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530710 }
711
712 @Override
713 public void exitBitsSpecification(GeneratedYangParser.BitsSpecificationContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530714 BitsListener.processBitsExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530715 }
716
717 @Override
718 public void enterBitStatement(GeneratedYangParser.BitStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530719 BitListener.processBitEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530720 }
721
722 @Override
723 public void exitBitStatement(GeneratedYangParser.BitStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530724 BitListener.processBitExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530725 }
726
727 @Override
728 public void enterBitBodyStatement(GeneratedYangParser.BitBodyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530729 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530730 }
731
732 @Override
733 public void exitBitBodyStatement(GeneratedYangParser.BitBodyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530734 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530735 }
736
737 @Override
738 public void enterPositionStatement(GeneratedYangParser.PositionStatementContext ctx) {
Gaurav Agrawal0cfdeed2016-02-26 02:47:39 +0530739 PositionListener.processPositionEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530740 }
741
742 @Override
743 public void exitPositionStatement(GeneratedYangParser.PositionStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530744 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530745 }
746
747 @Override
748 public void enterStatusStatement(GeneratedYangParser.StatusStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530749 StatusListener.processStatusEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530750 }
751
752 @Override
753 public void exitStatusStatement(GeneratedYangParser.StatusStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530754 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530755 }
756
757 @Override
758 public void enterConfigStatement(GeneratedYangParser.ConfigStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530759 ConfigListener.processConfigEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530760 }
761
762 @Override
763 public void exitConfigStatement(GeneratedYangParser.ConfigStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530764 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530765 }
766
767 @Override
768 public void enterMandatoryStatement(GeneratedYangParser.MandatoryStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530769 MandatoryListener.processMandatoryEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530770 }
771
772 @Override
773 public void exitMandatoryStatement(GeneratedYangParser.MandatoryStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530774 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530775 }
776
777 @Override
778 public void enterPresenceStatement(GeneratedYangParser.PresenceStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530779 PresenceListener.processPresenceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530780 }
781
782 @Override
783 public void exitPresenceStatement(GeneratedYangParser.PresenceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530784 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530785 }
786
787 @Override
788 public void enterOrderedByStatement(GeneratedYangParser.OrderedByStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530789 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530790 }
791
792 @Override
793 public void exitOrderedByStatement(GeneratedYangParser.OrderedByStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530794 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530795 }
796
797 @Override
798 public void enterMustStatement(GeneratedYangParser.MustStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530799 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530800 }
801
802 @Override
803 public void exitMustStatement(GeneratedYangParser.MustStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530804 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530805 }
806
807 @Override
808 public void enterErrorMessageStatement(GeneratedYangParser.ErrorMessageStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530809 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530810 }
811
812 @Override
813 public void exitErrorMessageStatement(GeneratedYangParser.ErrorMessageStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530814 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530815 }
816
817 @Override
818 public void enterErrorAppTagStatement(GeneratedYangParser.ErrorAppTagStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530819 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530820 }
821
822 @Override
823 public void exitErrorAppTagStatement(GeneratedYangParser.ErrorAppTagStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530824 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530825 }
826
827 @Override
828 public void enterMinElementsStatement(GeneratedYangParser.MinElementsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530829 MinElementsListener.processMinElementsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530830 }
831
832 @Override
833 public void exitMinElementsStatement(GeneratedYangParser.MinElementsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530834 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530835 }
836
837 @Override
838 public void enterMaxElementsStatement(GeneratedYangParser.MaxElementsStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530839 MaxElementsListener.processMaxElementsEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530840 }
841
842 @Override
843 public void exitMaxElementsStatement(GeneratedYangParser.MaxElementsStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530844 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530845 }
846
847 @Override
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530848 public void enterValueStatement(GeneratedYangParser.ValueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530849 ValueListener.processValueEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530850 }
851
852 @Override
853 public void exitValueStatement(GeneratedYangParser.ValueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530854 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530855 }
856
857 @Override
858 public void enterGroupingStatement(GeneratedYangParser.GroupingStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530859 GroupingListener.processGroupingEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530860 }
861
862 @Override
863 public void exitGroupingStatement(GeneratedYangParser.GroupingStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530864 GroupingListener.processGroupingExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530865 }
866
867 @Override
868 public void enterContainerStatement(GeneratedYangParser.ContainerStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530869 ContainerListener.processContainerEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530870 }
871
872 @Override
873 public void exitContainerStatement(GeneratedYangParser.ContainerStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530874 ContainerListener.processContainerExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530875 }
876
877 @Override
878 public void enterLeafStatement(GeneratedYangParser.LeafStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530879 LeafListener.processLeafEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530880 }
881
882 @Override
883 public void exitLeafStatement(GeneratedYangParser.LeafStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530884 LeafListener.processLeafExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530885 }
886
887 @Override
888 public void enterLeafListStatement(GeneratedYangParser.LeafListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530889 LeafListListener.processLeafListEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530890 }
891
892 @Override
893 public void exitLeafListStatement(GeneratedYangParser.LeafListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530894 LeafListListener.processLeafListExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530895 }
896
897 @Override
898 public void enterListStatement(GeneratedYangParser.ListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530899 ListListener.processListEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530900 }
901
902 @Override
903 public void exitListStatement(GeneratedYangParser.ListStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530904 ListListener.processListExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530905 }
906
907 @Override
908 public void enterKeyStatement(GeneratedYangParser.KeyStatementContext ctx) {
Vidyashree Rama19d8e972016-02-13 12:36:40 +0530909 KeyListener.processKeyEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530910 }
911
912 @Override
913 public void exitKeyStatement(GeneratedYangParser.KeyStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530914 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530915 }
916
917 @Override
918 public void enterUniqueStatement(GeneratedYangParser.UniqueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530919 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530920 }
921
922 @Override
923 public void exitUniqueStatement(GeneratedYangParser.UniqueStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530924 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530925 }
926
927 @Override
928 public void enterChoiceStatement(GeneratedYangParser.ChoiceStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530929 ChoiceListener.processChoiceEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530930 }
931
932 @Override
933 public void exitChoiceStatement(GeneratedYangParser.ChoiceStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530934 ChoiceListener.processChoiceExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530935 }
936
937 @Override
938 public void enterShortCaseStatement(GeneratedYangParser.ShortCaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530939 ShortCaseListener.processShortCaseEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530940 }
941
942 @Override
943 public void exitShortCaseStatement(GeneratedYangParser.ShortCaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530944 ShortCaseListener.processShortCaseExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530945 }
946
947 @Override
948 public void enterCaseStatement(GeneratedYangParser.CaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530949 CaseListener.processCaseEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530950 }
951
952 @Override
953 public void exitCaseStatement(GeneratedYangParser.CaseStatementContext ctx) {
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +0530954 CaseListener.processCaseExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530955 }
956
957 @Override
958 public void enterUsesStatement(GeneratedYangParser.UsesStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530959 UsesListener.processUsesEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530960 }
961
962 @Override
963 public void exitUsesStatement(GeneratedYangParser.UsesStatementContext ctx) {
Gaurav Agrawalbd804472016-03-25 11:25:36 +0530964 UsesListener.processUsesExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530965 }
966
967 @Override
968 public void enterRefineStatement(GeneratedYangParser.RefineStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530969 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530970 }
971
972 @Override
973 public void exitRefineStatement(GeneratedYangParser.RefineStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530974 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530975 }
976
977 @Override
978 public void enterRefineContainerStatements(GeneratedYangParser.RefineContainerStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530979 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530980 }
981
982 @Override
983 public void exitRefineContainerStatements(GeneratedYangParser.RefineContainerStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530984 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530985 }
986
987 @Override
988 public void enterRefineLeafStatements(GeneratedYangParser.RefineLeafStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530989 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530990 }
991
992 @Override
993 public void exitRefineLeafStatements(GeneratedYangParser.RefineLeafStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530994 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +0530995 }
996
997 @Override
998 public void enterRefineLeafListStatements(GeneratedYangParser.RefineLeafListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +0530999 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301000 }
1001
1002 @Override
1003 public void exitRefineLeafListStatements(GeneratedYangParser.RefineLeafListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301004 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301005 }
1006
1007 @Override
1008 public void enterRefineListStatements(GeneratedYangParser.RefineListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301009 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301010 }
1011
1012 @Override
1013 public void exitRefineListStatements(GeneratedYangParser.RefineListStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301014 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301015 }
1016
1017 @Override
1018 public void enterRefineChoiceStatements(GeneratedYangParser.RefineChoiceStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301019 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301020 }
1021
1022 @Override
1023 public void exitRefineChoiceStatements(GeneratedYangParser.RefineChoiceStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301024 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301025 }
1026
1027 @Override
1028 public void enterRefineCaseStatements(GeneratedYangParser.RefineCaseStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301029 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301030 }
1031
1032 @Override
1033 public void exitRefineCaseStatements(GeneratedYangParser.RefineCaseStatementsContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301034 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301035 }
1036
1037 @Override
1038 public void enterUsesAugmentStatement(GeneratedYangParser.UsesAugmentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301039 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301040 }
1041
1042 @Override
1043 public void exitUsesAugmentStatement(GeneratedYangParser.UsesAugmentStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301044 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301045 }
1046
1047 @Override
1048 public void enterAugmentStatement(GeneratedYangParser.AugmentStatementContext ctx) {
Vidyashree Rama25bf4d02016-03-29 14:37:02 +05301049 AugmentListener.processAugmentEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301050 }
1051
1052 @Override
1053 public void exitAugmentStatement(GeneratedYangParser.AugmentStatementContext ctx) {
Vidyashree Rama25bf4d02016-03-29 14:37:02 +05301054 AugmentListener.processAugmentExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301055 }
1056
1057 @Override
1058 public void enterWhenStatement(GeneratedYangParser.WhenStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301059 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301060 }
1061
1062 @Override
1063 public void exitWhenStatement(GeneratedYangParser.WhenStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301064 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301065 }
1066
1067 @Override
1068 public void enterRpcStatement(GeneratedYangParser.RpcStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301069 RpcListener.processRpcEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301070 }
1071
1072 @Override
1073 public void exitRpcStatement(GeneratedYangParser.RpcStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301074 RpcListener.processRpcExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301075 }
1076
1077 @Override
1078 public void enterInputStatement(GeneratedYangParser.InputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301079 InputListener.processInputEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301080 }
1081
1082 @Override
1083 public void exitInputStatement(GeneratedYangParser.InputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301084 InputListener.processInputExit(this, ctx);
1085 }
1086
1087 @Override
1088 public void enterInputStatementBody(GeneratedYangParser.InputStatementBodyContext ctx) {
1089 }
1090
1091 @Override
1092 public void exitInputStatementBody(GeneratedYangParser.InputStatementBodyContext ctx) {
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301093 }
1094
1095 @Override
1096 public void enterOutputStatement(GeneratedYangParser.OutputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301097 OutputListener.processOutputEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301098 }
1099
1100 @Override
1101 public void exitOutputStatement(GeneratedYangParser.OutputStatementContext ctx) {
Vidyashree Rama6a72b792016-03-29 12:00:42 +05301102 OutputListener.processOutputExit(this, ctx);
1103 }
1104
1105 @Override
1106 public void enterOutputStatementBody(GeneratedYangParser.OutputStatementBodyContext ctx) {
1107 }
1108
1109 @Override
1110 public void exitOutputStatementBody(GeneratedYangParser.OutputStatementBodyContext ctx) {
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301111 }
1112
1113 @Override
1114 public void enterNotificationStatement(GeneratedYangParser.NotificationStatementContext ctx) {
Vidyashree Rama506cbe12016-03-28 11:59:27 +05301115 NotificationListener.processNotificationEntry(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301116 }
1117
1118 @Override
1119 public void exitNotificationStatement(GeneratedYangParser.NotificationStatementContext ctx) {
Vidyashree Rama506cbe12016-03-28 11:59:27 +05301120 NotificationListener.processNotificationExit(this, ctx);
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301121 }
1122
1123 @Override
1124 public void enterDeviationStatement(GeneratedYangParser.DeviationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301125 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301126 }
1127
1128 @Override
1129 public void exitDeviationStatement(GeneratedYangParser.DeviationStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301130 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301131 }
1132
1133 @Override
1134 public void enterDeviateNotSupportedStatement(GeneratedYangParser.DeviateNotSupportedStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301135 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301136 }
1137
1138 @Override
1139 public void exitDeviateNotSupportedStatement(GeneratedYangParser.DeviateNotSupportedStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301140 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301141 }
1142
1143 @Override
1144 public void enterDeviateAddStatement(GeneratedYangParser.DeviateAddStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301145 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301146 }
1147
1148 @Override
1149 public void exitDeviateAddStatement(GeneratedYangParser.DeviateAddStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301150 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301151 }
1152
1153 @Override
1154 public void enterDeviateDeleteStatement(GeneratedYangParser.DeviateDeleteStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301155 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301156 }
1157
1158 @Override
1159 public void exitDeviateDeleteStatement(GeneratedYangParser.DeviateDeleteStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301160 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301161 }
1162
1163 @Override
1164 public void enterDeviateReplaceStatement(GeneratedYangParser.DeviateReplaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301165 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301166 }
1167
1168 @Override
1169 public void exitDeviateReplaceStatement(GeneratedYangParser.DeviateReplaceStatementContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301170 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301171 }
1172
1173 @Override
1174 public void enterString(GeneratedYangParser.StringContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301175 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301176 }
1177
1178 @Override
1179 public void exitString(GeneratedYangParser.StringContext ctx) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301180 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301181 }
1182
1183 @Override
Vidyashree Rama468f8282016-03-04 19:08:35 +05301184 public void enterIdentifier(GeneratedYangParser.IdentifierContext ctx) {
1185 // TODO: implement the method.
1186 }
1187
1188 @Override
1189 public void exitIdentifier(GeneratedYangParser.IdentifierContext ctx) {
1190 // TODO: implement the method.
1191 }
1192
1193 @Override
1194 public void enterDateArgumentString(GeneratedYangParser.DateArgumentStringContext ctx) {
1195 // TODO: implement the method.
1196 }
1197
1198 @Override
1199 public void exitDateArgumentString(GeneratedYangParser.DateArgumentStringContext ctx) {
1200 // TODO: implement the method.
1201 }
1202
1203 @Override
Vidyashree Rama8a6b1282016-03-15 10:18:25 +05301204 public void enterRange(GeneratedYangParser.RangeContext ctx) {
1205 // TODO: implement the method.
1206 }
1207
1208 @Override
1209 public void exitRange(GeneratedYangParser.RangeContext ctx) {
1210 // TODO: implement the method.
1211 }
1212
1213 @Override
1214 public void enterLength(GeneratedYangParser.LengthContext ctx) {
1215 // TODO: implement the method.
1216 }
1217
1218 @Override
1219 public void exitLength(GeneratedYangParser.LengthContext ctx) {
1220 // TODO: implement the method.
1221 }
1222
1223 @Override
1224 public void enterPath(GeneratedYangParser.PathContext ctx) {
1225 // TODO: implement the method.
1226 }
1227
1228 @Override
1229 public void exitPath(GeneratedYangParser.PathContext ctx) {
1230 // TODO: implement the method.
1231 }
1232
1233 @Override
1234 public void enterPosition(GeneratedYangParser.PositionContext ctx) {
1235 // TODO: implement the method.
1236 }
1237
1238 @Override
1239 public void exitPosition(GeneratedYangParser.PositionContext ctx) {
1240 // TODO: implement the method.
1241 }
1242
1243 @Override
1244 public void enterStatus(GeneratedYangParser.StatusContext ctx) {
1245 // TODO: implement the method.
1246 }
1247
1248 @Override
1249 public void exitStatus(GeneratedYangParser.StatusContext ctx) {
1250 // TODO: implement the method.
1251 }
1252
1253 @Override
1254 public void enterConfig(GeneratedYangParser.ConfigContext ctx) {
1255 // TODO: implement the method.
1256 }
1257
1258 @Override
1259 public void exitConfig(GeneratedYangParser.ConfigContext ctx) {
1260 // TODO: implement the method.
1261 }
1262
1263 @Override
1264 public void enterMandatory(GeneratedYangParser.MandatoryContext ctx) {
1265 // TODO: implement the method.
1266 }
1267
1268 @Override
1269 public void exitMandatory(GeneratedYangParser.MandatoryContext ctx) {
1270 // TODO: implement the method.
1271 }
1272
1273 @Override
1274 public void enterOrderedBy(GeneratedYangParser.OrderedByContext ctx) {
1275 // TODO: implement the method.
1276 }
1277
1278 @Override
1279 public void exitOrderedBy(GeneratedYangParser.OrderedByContext ctx) {
1280 // TODO: implement the method.
1281 }
1282
1283 @Override
1284 public void enterMinValue(GeneratedYangParser.MinValueContext ctx) {
1285 // TODO: implement the method.
1286 }
1287
1288 @Override
1289 public void exitMinValue(GeneratedYangParser.MinValueContext ctx) {
1290 // TODO: implement the method.
1291 }
1292
1293 @Override
1294 public void enterMaxValue(GeneratedYangParser.MaxValueContext ctx) {
1295 // TODO: implement the method.
1296 }
1297
1298 @Override
1299 public void exitMaxValue(GeneratedYangParser.MaxValueContext ctx) {
1300 // TODO: implement the method.
1301 }
1302
1303 @Override
1304 public void enterKey(GeneratedYangParser.KeyContext ctx) {
1305 // TODO: implement the method.
1306 }
1307
1308 @Override
1309 public void exitKey(GeneratedYangParser.KeyContext ctx) {
1310 // TODO: implement the method.
1311 }
1312
1313 @Override
1314 public void enterUnique(GeneratedYangParser.UniqueContext ctx) {
1315 // TODO: implement the method.
1316 }
1317
1318 @Override
1319 public void exitUnique(GeneratedYangParser.UniqueContext ctx) {
1320 // TODO: implement the method.
1321 }
1322
1323 @Override
1324 public void enterRefine(GeneratedYangParser.RefineContext ctx) {
1325 // TODO: implement the method.
1326 }
1327
1328 @Override
1329 public void exitRefine(GeneratedYangParser.RefineContext ctx) {
1330 // TODO: implement the method.
1331 }
1332
1333 @Override
1334 public void enterAugment(GeneratedYangParser.AugmentContext ctx) {
1335 // TODO: implement the method.
1336 }
1337
1338 @Override
1339 public void exitAugment(GeneratedYangParser.AugmentContext ctx) {
1340 // TODO: implement the method.
1341 }
1342
1343 @Override
1344 public void enterDeviation(GeneratedYangParser.DeviationContext ctx) {
1345 // TODO: implement the method.
1346 }
1347
1348 @Override
1349 public void exitDeviation(GeneratedYangParser.DeviationContext ctx) {
1350 // TODO: implement the method.
1351 }
1352
1353 @Override
1354 public void enterYangConstruct(GeneratedYangParser.YangConstructContext ctx) {
1355 // TODO: implement the method.
1356 }
1357
1358 @Override
1359 public void exitYangConstruct(GeneratedYangParser.YangConstructContext ctx) {
1360 // TODO: implement the method.
1361 }
1362
1363 @Override
1364 public void enterVersion(GeneratedYangParser.VersionContext ctx) {
1365 // TODO: implement the method.
1366 }
1367
1368 @Override
1369 public void exitVersion(GeneratedYangParser.VersionContext ctx) {
1370 // TODO: implement the method.
1371 }
1372
1373 @Override
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301374 public void visitTerminal(TerminalNode terminalNode) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301375 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301376 }
1377
1378 @Override
1379 public void visitErrorNode(ErrorNode errorNode) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301380 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301381 }
1382
1383 @Override
1384 public void enterEveryRule(ParserRuleContext parserRuleContext) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301385 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301386 }
1387
1388 @Override
1389 public void exitEveryRule(ParserRuleContext parserRuleContext) {
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301390 // TODO: implement the method.
Gaurav Agrawal4f8ad172016-02-12 16:17:32 +05301391 }
Gaurav Agrawal9c512e02016-02-25 04:37:05 +05301392}