| Package | Description |
|---|---|
| org.onosproject.yangutils.parser.impl.listeners |
Provide call back functions for listeners based tree walk.
|
| org.onosproject.yangutils.parser.impl.parserutils |
Provide common utils for parser implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AppDataStructureListener.processAppDataStructureEntry(TreeWalkListener listener,
GeneratedYangParser.AppDataStructureStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
AppDataStructureListener.processAppDataStructureExit(TreeWalkListener listener,
GeneratedYangParser.AppDataStructureStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
AppExtendedNameListener.processAppExtendedNameEntry(TreeWalkListener listener,
GeneratedYangParser.AppExtendedStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
ArgumentListener.processArgumentEntry(TreeWalkListener listener,
GeneratedYangParser.ArgumentStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(argument), performs validation and updates the data model tree.
|
static void |
AugmentListener.processAugmentEntry(TreeWalkListener listener,
GeneratedYangParser.AugmentStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(augment), performs validation and updates the data model tree.
|
static void |
AugmentListener.processAugmentExit(TreeWalkListener listener,
GeneratedYangParser.AugmentStatementContext ctx)
It is called when parser exits from grammar rule (augment), it perform
validations and updates the data model tree.
|
static void |
BaseListener.processBaseEntry(TreeWalkListener listener,
GeneratedYangParser.BaseStatementContext ctx)
Performs validation and updates the data model tree when parser receives an
input matching the grammar rule (base).
|
static void |
BelongsToListener.processBelongsToEntry(TreeWalkListener listener,
GeneratedYangParser.BelongstoStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(belongsto), perform validations and update the data model tree.
|
static void |
BelongsToListener.processBelongsToExit(TreeWalkListener listener,
GeneratedYangParser.BelongstoStatementContext ctx)
It is called when parser exits from grammar rule (belongsto), it perform
validations and update the data model tree.
|
static void |
BitListener.processBitEntry(TreeWalkListener listener,
GeneratedYangParser.BitStatementContext ctx)
It is called when parser enters grammar rule (bit), it perform
validations and updates the data model tree.
|
static void |
BitListener.processBitExit(TreeWalkListener listener,
GeneratedYangParser.BitStatementContext ctx)
It is called when parser exits from grammar rule (bit), it perform
validations and update the data model tree.
|
static void |
BitsListener.processBitsEntry(TreeWalkListener listener,
GeneratedYangParser.BitsSpecificationContext ctx)
It is called when parser enters grammar rule (bits), it perform
validations and updates the data model tree.
|
static void |
BitsListener.processBitsExit(TreeWalkListener listener,
GeneratedYangParser.BitsSpecificationContext ctx)
It is called when parser exits from grammar rule (bits), it perform
validations and update the data model tree.
|
static void |
CaseListener.processCaseEntry(TreeWalkListener listener,
GeneratedYangParser.CaseStatementContext ctx)
It is called when parser enters grammar rule (case), it perform
validations and updates the data model tree.
|
static void |
CaseListener.processCaseExit(TreeWalkListener listener,
GeneratedYangParser.CaseStatementContext ctx)
It is called when parser exits from grammar rule (case), it perform
validations and update the data model tree.
|
static void |
ChoiceListener.processChoiceEntry(TreeWalkListener listener,
GeneratedYangParser.ChoiceStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(choice), perform validations and update the data model tree.
|
static void |
ChoiceListener.processChoiceExit(TreeWalkListener listener,
GeneratedYangParser.ChoiceStatementContext ctx)
It is called when parser exits from grammar rule (choice), it perform
validations and update the data model tree.
|
static void |
CompilerAnnotationListener.processCompilerAnnotationEntry(TreeWalkListener listener,
GeneratedYangParser.CompilerAnnotationStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
CompilerAnnotationListener.processCompilerAnnotationExit(TreeWalkListener listener,
GeneratedYangParser.CompilerAnnotationStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
ConfigListener.processConfigEntry(TreeWalkListener listener,
GeneratedYangParser.ConfigStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(config), performs validation and updates the data model tree.
|
static void |
ContactListener.processContactEntry(TreeWalkListener listener,
GeneratedYangParser.ContactStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(contact), perform validations and update the data model tree.
|
static void |
ContainerListener.processContainerEntry(TreeWalkListener listener,
GeneratedYangParser.ContainerStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(container), performs validation and updates the data model tree.
|
static void |
ContainerListener.processContainerExit(TreeWalkListener listener,
GeneratedYangParser.ContainerStatementContext ctx)
It is called when parser exits from grammar rule (container), it perform
validations and updates the data model tree.
|
static void |
DataStructureKeyListener.processDataStructureKeyEntry(TreeWalkListener listener,
GeneratedYangParser.DataStructureKeyStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
Decimal64Listener.processDecimal64Entry(TreeWalkListener listener,
GeneratedYangParser.Decimal64SpecificationContext ctx)
It is called when parser enters grammar rule (decimal64), it perform
validations and updates the data model tree.
|
static void |
Decimal64Listener.processDecimal64Exit(TreeWalkListener listener,
GeneratedYangParser.Decimal64SpecificationContext ctx)
Performs validation and updates the data model tree.
|
static void |
DefaultListener.processDefaultEntry(TreeWalkListener listener,
GeneratedYangParser.DefaultStatementContext ctx)
It is called when parser enters grammar rule (default), it perform
validations and updates the data model tree.
|
static void |
DescriptionListener.processDescriptionEntry(TreeWalkListener listener,
GeneratedYangParser.DescriptionStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(description), perform validations and updates the data model tree.
|
static void |
EnumListener.processEnumEntry(TreeWalkListener listener,
GeneratedYangParser.EnumStatementContext ctx)
It is called when parser enters grammar rule (enum), it perform
validations and updates the data model tree.
|
static void |
EnumerationListener.processEnumerationEntry(TreeWalkListener listener,
GeneratedYangParser.EnumSpecificationContext ctx)
It is called when parser enters grammar rule (enumeration), it perform
validations and updates the data model tree.
|
static void |
EnumerationListener.processEnumerationExit(TreeWalkListener listener,
GeneratedYangParser.EnumSpecificationContext ctx)
It is called when parser exits from grammar rule (enumeration), it
perform validations and update the data model tree.
|
static void |
EnumListener.processEnumExit(TreeWalkListener listener,
GeneratedYangParser.EnumStatementContext ctx)
It is called when parser exits from grammar rule (enum), it perform
validations and update the data model tree.
|
static void |
ErrorAppTagListener.processErrorAppTagMessageEntry(TreeWalkListener listener,
GeneratedYangParser.ErrorAppTagStatementContext ctx)
Performs validations and updates the data model tree.
|
static void |
ErrorMessageListener.processErrorMessageEntry(TreeWalkListener listener,
GeneratedYangParser.ErrorMessageStatementContext ctx)
Performs validations and updates the data model tree.
|
static void |
ExtensionListener.processExtensionEntry(TreeWalkListener listener,
GeneratedYangParser.ExtensionStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
ExtensionListener.processExtensionExit(TreeWalkListener listener,
GeneratedYangParser.ExtensionStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
FeatureListener.processFeatureEntry(TreeWalkListener listener,
GeneratedYangParser.FeatureStatementContext ctx)
Performs validation and updates the data model tree.It is called when parser receives
an input matching the grammar rule (feature).
|
static void |
FeatureListener.processFeatureExit(TreeWalkListener listener,
GeneratedYangParser.FeatureStatementContext ctx)
Perform validations and updates the data model tree.It is called when parser exits from
grammar rule(feature).
|
static void |
FractionDigitsListener.processFractionDigitsEntry(TreeWalkListener listener,
GeneratedYangParser.FractionDigitStatementContext ctx)
It is called when parser enters grammar rule (fraction-digits), it perform
validations and updates the data model tree.
|
static void |
GroupingListener.processGroupingEntry(TreeWalkListener listener,
GeneratedYangParser.GroupingStatementContext ctx)
It is called when parser enters grammar rule (grouping), it perform
validations and updates the data model tree.
|
static void |
GroupingListener.processGroupingExit(TreeWalkListener listener,
GeneratedYangParser.GroupingStatementContext ctx)
It is called when parser exits from grammar rule (grouping), it perform
validations and update the data model tree.
|
static void |
IdentityListener.processIdentityEntry(TreeWalkListener listener,
GeneratedYangParser.IdentityStatementContext ctx)
Performs validations and update the data model tree when parser receives an input
matching the grammar rule (identity).
|
static void |
IdentityListener.processIdentityExit(TreeWalkListener listener,
GeneratedYangParser.IdentityStatementContext ctx)
Performs validations and update the data model tree when parser exits from grammar
rule (identity).
|
static void |
IdentityrefListener.processIdentityrefEntry(TreeWalkListener listener,
GeneratedYangParser.IdentityrefSpecificationContext ctx)
Performs validation and updates the data model tree when parser receives an input
matching the grammar rule (identityref).
|
static void |
IdentityrefListener.processIdentityrefExit(TreeWalkListener listener,
GeneratedYangParser.IdentityrefSpecificationContext ctx)
Performs validations and update the data model tree when parser exits from grammar
rule (identityref).
|
static void |
IfFeatureListener.processIfFeatureEntry(TreeWalkListener listener,
GeneratedYangParser.IfFeatureStatementContext ctx)
Performs validation and updates the data model tree.It is called when parser receives
an input matching the grammar rule (if-feature).
|
static void |
ImportListener.processImportEntry(TreeWalkListener listener,
GeneratedYangParser.ImportStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(import), perform validations and update the data model tree.
|
static void |
ImportListener.processImportExit(TreeWalkListener listener,
GeneratedYangParser.ImportStatementContext ctx)
It is called when parser exits from grammar rule (import), it perform
validations and update the data model tree.
|
static void |
IncludeListener.processIncludeEntry(TreeWalkListener listener,
GeneratedYangParser.IncludeStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(include), perform validations and update the data model tree.
|
static void |
IncludeListener.processIncludeExit(TreeWalkListener listener,
GeneratedYangParser.IncludeStatementContext ctx)
It is called when parser exits from grammar rule (include), it perform
validations and update the data model tree.
|
static void |
InputListener.processInputEntry(TreeWalkListener listener,
GeneratedYangParser.InputStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(input), performs validation and updates the data model tree.
|
static void |
InputListener.processInputExit(TreeWalkListener listener,
GeneratedYangParser.InputStatementContext ctx)
It is called when parser exits from grammar rule (input), it perform
validations and updates the data model tree.
|
static void |
KeyListener.processKeyEntry(TreeWalkListener listener,
GeneratedYangParser.KeyStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(key), perform validations and updates the data model tree.
|
static void |
LeafListener.processLeafEntry(TreeWalkListener listener,
GeneratedYangParser.LeafStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(leaf), performs validation and updates the data model tree.
|
static void |
LeafListener.processLeafExit(TreeWalkListener listener,
GeneratedYangParser.LeafStatementContext ctx)
It is called when parser exits from grammar rule (leaf), performs
validation and updates the data model tree.
|
static void |
LeafListListener.processLeafListEntry(TreeWalkListener listener,
GeneratedYangParser.LeafListStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(leaf-list), performs validation and updates the data model tree.
|
static void |
LeafListListener.processLeafListExit(TreeWalkListener listener,
GeneratedYangParser.LeafListStatementContext ctx)
It is called when parser exits from grammar rule (leaf-list), it performs
validation and updates the data model tree.
|
static void |
LeafrefListener.processLeafrefEntry(TreeWalkListener listener,
GeneratedYangParser.LeafrefSpecificationContext ctx)
It is called when parser receives an input matching the grammar rule
(leafref), perform validations and updates the data model tree.
|
static void |
LeafrefListener.processLeafrefExit(TreeWalkListener listener,
GeneratedYangParser.LeafrefSpecificationContext ctx)
It is called when parser exits from grammar rule (leafref), it performs
validation and updates the data model tree.
|
static void |
LengthRestrictionListener.processLengthRestrictionEntry(TreeWalkListener listener,
GeneratedYangParser.LengthStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (length), performs validation and updates the data model
tree.
|
static void |
LengthRestrictionListener.processLengthRestrictionExit(TreeWalkListener listener,
GeneratedYangParser.LengthStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
ListListener.processListEntry(TreeWalkListener listener,
GeneratedYangParser.ListStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(list), performs validation and updates the data model tree.
|
static void |
ListListener.processListExit(TreeWalkListener listener,
GeneratedYangParser.ListStatementContext ctx)
It is called when parser exits from grammar rule (list), it performs
validation and updates the data model tree.
|
static void |
MandatoryListener.processMandatoryEntry(TreeWalkListener listener,
GeneratedYangParser.MandatoryStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (mandatory), performs validation and updates the data model
tree.
|
static void |
MaxElementsListener.processMaxElementsEntry(TreeWalkListener listener,
GeneratedYangParser.MaxElementsStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(max-elements), performs validation and updates the data model tree.
|
static void |
MinElementsListener.processMinElementsEntry(TreeWalkListener listener,
GeneratedYangParser.MinElementsStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (min-elements), performs validation and updates the data model
tree.
|
static void |
ModuleListener.processModuleEntry(TreeWalkListener listener,
GeneratedYangParser.ModuleStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(module), perform validations and update the data model tree.
|
static void |
ModuleListener.processModuleExit(TreeWalkListener listener,
GeneratedYangParser.ModuleStatementContext ctx)
It is called when parser exits from grammar rule (module), it perform
validations and update the data model tree.
|
static void |
MustListener.processMustEntry(TreeWalkListener listener,
GeneratedYangParser.MustStatementContext ctx)
Perform validations and updates the data model tree.It is called when parser
receives an input matching the grammar rule (must).
|
static void |
MustListener.processMustExit(TreeWalkListener listener,
GeneratedYangParser.MustStatementContext ctx)
Performs validation and updates the data model tree.It is called when parser
exits from grammar rule (must).
|
static void |
NamespaceListener.processNamespaceEntry(TreeWalkListener listener,
GeneratedYangParser.NamespaceStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(namespace), perform validations and update the data model tree.
|
static void |
NotificationListener.processNotificationEntry(TreeWalkListener listener,
GeneratedYangParser.NotificationStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(notification), performs validation and updates the data model tree.
|
static void |
NotificationListener.processNotificationExit(TreeWalkListener listener,
GeneratedYangParser.NotificationStatementContext ctx)
It is called when parser exits from grammar rule (notification), it perform
validations and updates the data model tree.
|
static void |
OrganizationListener.processOrganizationEntry(TreeWalkListener listener,
GeneratedYangParser.OrganizationStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(organization), perform validations and update the data model tree.
|
static void |
OutputListener.processOutputEntry(TreeWalkListener listener,
GeneratedYangParser.OutputStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(output), performs validation and updates the data model tree.
|
static void |
OutputListener.processOutputExit(TreeWalkListener listener,
GeneratedYangParser.OutputStatementContext ctx)
It is called when parser exits from grammar rule (output), it perform
validations and updates the data model tree.
|
static void |
PathListener.processPathEntry(TreeWalkListener listener,
GeneratedYangParser.PathStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(path), performs validation and updates the data model tree.
|
static void |
PatternRestrictionListener.processPatternRestrictionEntry(TreeWalkListener listener,
GeneratedYangParser.PatternStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (pattern), performs validation and updates the data model
tree.
|
static void |
PatternRestrictionListener.processPatternRestrictionExit(TreeWalkListener listener,
GeneratedYangParser.PatternStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
PositionListener.processPositionEntry(TreeWalkListener listener,
GeneratedYangParser.PositionStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(position), perform validations and update the data model tree.
|
static void |
PrefixListener.processPrefixEntry(TreeWalkListener listener,
GeneratedYangParser.PrefixStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(prefix),perform validations and update the data model tree.
|
static void |
PresenceListener.processPresenceEntry(TreeWalkListener listener,
GeneratedYangParser.PresenceStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (presence), performs validation and updates the data model
tree.
|
static void |
RangeRestrictionListener.processRangeRestrictionEntry(TreeWalkListener listener,
GeneratedYangParser.RangeStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (range), performs validation and updates the data model
tree.
|
static void |
RangeRestrictionListener.processRangeRestrictionExit(TreeWalkListener listener,
GeneratedYangParser.RangeStatementContext ctx)
Performs validation and updates the data model tree.
|
static void |
ReferenceListener.processReferenceEntry(TreeWalkListener listener,
GeneratedYangParser.ReferenceStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (reference), performs validation and updates the data model
tree.
|
static void |
RequireInstanceListener.processRequireInstanceEntry(TreeWalkListener listener,
GeneratedYangParser.RequireInstanceStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(require-instance), performs validation and updates the data model tree.
|
static void |
RevisionDateListener.processRevisionDateEntry(TreeWalkListener listener,
GeneratedYangParser.RevisionDateStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(revision date),perform validations and update the data model tree.
|
static void |
RevisionListener.processRevisionEntry(TreeWalkListener listener,
GeneratedYangParser.RevisionStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(revision),perform validations and update the data model tree.
|
static void |
RevisionListener.processRevisionExit(TreeWalkListener listener,
GeneratedYangParser.RevisionStatementContext ctx)
It is called when parser exits from grammar rule (revision), it perform
validations and update the data model tree.
|
static void |
RpcListener.processRpcEntry(TreeWalkListener listener,
GeneratedYangParser.RpcStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(rpc), performs validation and updates the data model tree.
|
static void |
RpcListener.processRpcExit(TreeWalkListener listener,
GeneratedYangParser.RpcStatementContext ctx)
It is called when parser exits from grammar rule (rpc), it perform
validations and updates the data model tree.
|
static void |
ShortCaseListener.processShortCaseEntry(TreeWalkListener listener,
GeneratedYangParser.ShortCaseStatementContext ctx)
It is called when parser enters grammar rule (short case), it perform
validations and updates the data model tree.
|
static void |
ShortCaseListener.processShortCaseExit(TreeWalkListener listener,
GeneratedYangParser.ShortCaseStatementContext ctx)
It is called when parser exits from grammar rule (short case), it perform
validations and update the data model tree.
|
static void |
StatusListener.processStatusEntry(TreeWalkListener listener,
GeneratedYangParser.StatusStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (status), performs validation and updates the data model
tree.
|
static void |
SubModuleListener.processSubModuleEntry(TreeWalkListener listener,
GeneratedYangParser.SubModuleStatementContext ctx)
It is called when parser receives an input matching the grammar rule (sub
module), perform validations and update the data model tree.
|
static void |
SubModuleListener.processSubModuleExit(TreeWalkListener listener,
GeneratedYangParser.SubModuleStatementContext ctx)
It is called when parser exits from grammar rule (submodule), it perform
validations and update the data model tree.
|
static void |
TypeDefListener.processTypeDefEntry(TreeWalkListener listener,
GeneratedYangParser.TypedefStatementContext ctx)
It is called when parser enters grammar rule (typedef), it perform
validations and updates the data model tree.
|
static void |
TypeDefListener.processTypeDefExit(TreeWalkListener listener,
GeneratedYangParser.TypedefStatementContext ctx)
It is called when parser exits from grammar rule (typedef), it perform
validations and updates the data model tree.
|
static void |
TypeListener.processTypeEntry(TreeWalkListener listener,
GeneratedYangParser.TypeStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(type), performs validation and updates the data model tree.
|
static void |
TypeListener.processTypeExit(TreeWalkListener listener,
GeneratedYangParser.TypeStatementContext ctx)
It is called when parser exits from grammar rule (type), it perform
validations and update the data model tree.
|
static void |
UnionListener.processUnionEntry(TreeWalkListener listener,
GeneratedYangParser.UnionSpecificationContext ctx)
It is called when parser enters grammar rule (union), it perform
validations and updates the data model tree.
|
static void |
UnionListener.processUnionExit(TreeWalkListener listener,
GeneratedYangParser.UnionSpecificationContext ctx)
It is called when parser exits from grammar rule (union), it perform
validations and update the data model tree.
|
static void |
UniqueListener.processUniqueEntry(TreeWalkListener listener,
GeneratedYangParser.UniqueStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(unique), perform validations and updates the data model tree.
|
static void |
UnitsListener.processUnitsEntry(TreeWalkListener listener,
GeneratedYangParser.UnitsStatementContext ctx)
It is called when parser receives an input matching the grammar
rule (units), performs validation and updates the data model
tree.
|
static void |
UsesListener.processUsesEntry(TreeWalkListener listener,
GeneratedYangParser.UsesStatementContext ctx)
It is called when parser enters grammar rule (uses), it perform
validations and updates the data model tree.
|
static void |
UsesListener.processUsesExit(TreeWalkListener listener,
GeneratedYangParser.UsesStatementContext ctx)
It is called when parser exits from grammar rule (uses), it perform
validations and update the data model tree.
|
static void |
ValueListener.processValueEntry(TreeWalkListener listener,
GeneratedYangParser.ValueStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(value), perform validations and update the data model tree.
|
static void |
VersionListener.processVersionEntry(TreeWalkListener listener,
GeneratedYangParser.YangVersionStatementContext ctx)
It is called when parser receives an input matching the grammar rule
(version), perform validations and update the data model tree.
|
static void |
WhenListener.processWhenEntry(TreeWalkListener listener,
GeneratedYangParser.WhenStatementContext ctx)
Perform validations and updates the data model tree.It is called when parser
receives an input matching the grammar rule (when).
|
static void |
WhenListener.processWhenExit(TreeWalkListener listener,
GeneratedYangParser.WhenStatementContext ctx)
Performs validation and updates the data model tree.It is called when parser
exits from grammar rule (when).
|
static void |
BaseFileListener.processYangFileEntry(TreeWalkListener listener,
GeneratedYangParser.YangfileContext ctx)
It is called when parser receives an input matching the grammar rule
(yangfile), perform validations and update the data model tree.
|
static void |
BaseFileListener.processYangFileExit(TreeWalkListener listener,
GeneratedYangParser.YangfileContext ctx)
It is called when parser exits from grammar rule (yangfile), it perform
validations and update the data model tree.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ListenerValidation.checkStackIsEmpty(TreeWalkListener listener,
ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation)
Checks parsed data stack is empty.
|
static void |
ListenerValidation.checkStackIsNotEmpty(TreeWalkListener listener,
ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation)
Checks parsed data stack is not empty.
|
static void |
ListenerCollisionDetector.detectCollidingChildUtil(TreeWalkListener listener,
int line,
int charPosition,
String identifierName,
YangConstructType constructType)
Detects that the identifiers of all these child nodes must be unique
within all cases in a choice.
|
static String |
AugmentListenerUtil.generateNameForAugmentNode(Parsable curData,
List<YangNodeIdentifier> targetNodes,
TreeWalkListener listener)
Generates name for augment node also detects collision for java file generation of augment node when
augment is updating the same target node in same parent multiple times.
|
static boolean |
ListenerValidation.getParentNodeConfig(TreeWalkListener listener)
Returns parent node config value, if top node does not specify a config
statement then default value true is returned.
|
Copyright © 2016. All rights reserved.