public final class ListenerCollisionDetector extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
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.
|
public static void detectCollidingChildUtil(TreeWalkListener listener, int line, int charPosition, String identifierName, YangConstructType constructType) throws ParserException
listener - listener's objectline - line of identifier in YANG file, required for error
reportingcharPosition - character position of identifier in YANG file,
required for error reportingidentifierName - name for which uniqueness is to be detectedconstructType - type of YANG construct for which collision check is
to be performedParserException - if identifier is not uniqueCopyright © 2016. All rights reserved.