Class StatementDeclarations
java.lang.Object
org.opendaylight.yangtools.yang.model.spi.meta.StatementDeclarations
Factory for creating default
StatementDeclaration
implementations. This is preferred source of
StatementSourceReference
for implementations of YANG / YIN statement stream sources.
To create source reference use one of this static factories:
inText(String, int, int)
- provides most specific reference of statement location, this is most preferred since it provides most context to debug YANG modelinText(int, int)
- provides location in text without knowing the name of the text file
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull StatementDeclaration.InText
inText
(int startLine, int startColumn) static @NonNull StatementDeclaration.InText
-
Method Details
-
inText
-
inText
public static @NonNull StatementDeclaration.InText inText(@Nullable String fileName, int startLine, int startColumn)
-