public interface StatementSourceReference
Reasons for introduction of statement could be various, but most obvious one is explicit declaration in model source
text such as DeclarationInTextSource
.
Modifier and Type | Method and Description |
---|---|
StatementSource |
getStatementSource()
Returns source type.
|
String |
toString()
Returns human readable representation of statement source.
|
StatementSource getStatementSource()
StatementSource.DECLARATION
if statement was explicitly
declared in YANG model source, StatementSource.CONTEXT
if statement
was inferred.String toString()
Implementations of this interface should override toString()
,
since it may be used in error reporting to provide context
information for model designer to debug errors in its mode.
Copyright © 2019 OpenDaylight. All rights reserved.