Package org.opendaylight.yangtools.yang.parser.spi.meta
Provides base abstract classes, interfaces and common implementation used by the statement parser.
-
Interface Summary Interface Description BoundStmtCtx<A> ACommonStmtCtx
which has additionally been bound to aStatementSupport
.BoundStmtCtxCompat<A,D extends DeclaredStatement<A>> Intermediate compatibility interface betweenStmtContext
andEffectiveStmtCtx.Current
.CommonStmtCtx Common interface for all statement contexts, exposing information which is always available.CopyHistory Reactor's view of significant semantic history of a particular statement.EffectiveStmtCtx Effective view of aStmtContext
for the purposes of creating anEffectiveStatement
.EffectiveStmtCtx.Current<A,D extends DeclaredStatement<A>> Minimum amount of state required to build an accurate effective view of a statement.EffectiveStmtCtx.Parent Minimum amount of parent state required to build an accurate effective view of a particular child.ImplicitParentAwareStatementSupport StatementSupport
trait for statements which create intermediate parent node for some of its child nodes.ImportedNamespaceContext<K> Special namespace which allows import of namespaces from other sources.ModelActionBuilder Builder for effective model inference action.ModelActionBuilder.InferenceAction User-defined inference action.ModelActionBuilder.InferenceContext ModelActionBuilder.Prerequisite<T> MutableStatement Mutable statement interface.NamespaceBehaviour.NamespaceStorageNode NamespaceBehaviour.OnDemandSchemaTreeStorageNode Interface implemented byNamespaceBehaviour.NamespaceStorageNode
s which support dynamic addition of child elements as they are requested.NamespaceBehaviour.Registry NamespaceStmtCtx Support work with namespace content.OverrideChildStatementSupport An additional trait forStatementSupport
, allowing a parent statement to override the support for a child statement.ParserNamespace<K,V> ParserNamespace
serves as common superclass for namespaces used during parser operation.RootStmtContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> A marker interface for aStmtContext
.RootStmtContext.Mutable<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> SemanticVersionModuleNamespace Namespace class for storing Maps of all modules with the same name.SemanticVersionNamespace Namespace class for storing semantic version of yang modules.StatementDefinitionNamespace Module-specific namespace for holdingStatementDefinition
s defined by extension statements.StatementFactory<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> An entity capable of creatingDeclaredStatement
andEffectiveStatement
instances for a particular type.StatementNamespace<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> StatementNamespace.TreeScoped<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> StatementSupport.StatementEquality<A,D extends DeclaredStatement<A>> Abstract base class for comparators associated with statements with aStatementSupport.CopyPolicy.DECLARED_COPY
copy policy.StmtContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> An inference context associated with an instance of a statement.StmtContext.Mutable<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> An mutable view of an inference context associated with an instance of a statement.StmtContextCompat Intermediate compatibility interface betweenStmtContext
andEffectiveStmtCtx.Current
. -
Enum Summary Enum Description CopyType EffectiveStmtCtx.Parent.EffectiveConfig Effectiveconfig
statement value.ModelProcessingPhase NamespaceBehaviour.StorageNodeType StatementSupport.CopyPolicy Statement context copy policy, indicating how should reactor handle statement copy operations. -
Exception Summary Exception Description InferenceException Thrown when there is an inference error.InvalidSubstatementException Thrown when there was invalid element in YANG file.MissingSubstatementException Thrown when there was Missing element in yang file.NamespaceNotAvailableException Thrown when identifier namespace is not available (supported) in a specific model processing phase.ReactorException SomeModifiersUnresolvedException