Class StatementDeclarations

java.lang.Object
org.opendaylight.yangtools.yang.model.spi.meta.StatementDeclarations

public final class StatementDeclarations extends Object
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 model
  • inText(int, int)- provides location in text without knowing the name of the text file