| Package | Description |
|---|---|
| org.onosproject.yangutils.parser.impl.parserutils |
Provide common utils for parser implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static ListenerErrorType |
ListenerErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerErrorType[] |
ListenerErrorType.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 |
ListenerErrorType.getErrorType(ListenerErrorType errorType)
Returns the message corresponding to listener error type.
|
Copyright © 2016. All rights reserved.