| Package | Description |
|---|---|
| org.onosproject.yangutils.parser.impl.parserutils |
Provide common utils for parser implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static ListenerErrorLocation |
ListenerErrorLocation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerErrorLocation[] |
ListenerErrorLocation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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 String |
ListenerErrorMessageConstruction.constructExtendedListenerErrorMessage(ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation,
String extendedErrorInformation)
Constructs message for error with extended information and returns the
same.
|
static String |
ListenerErrorMessageConstruction.constructListenerErrorMessage(ListenerErrorType errorType,
YangConstructType yangConstructType,
String parsableDataTypeName,
ListenerErrorLocation errorLocation)
Constructs message for error during listener based tree walk and returns
the same.
|
static String |
ListenerErrorLocation.getErrorLocationMessage(ListenerErrorLocation errorLocation)
Returns the message corresponding to listener error location.
|
Copyright © 2016. All rights reserved.