Package org.opendaylight.yangtools.yang.parser.spi.meta
package org.opendaylight.yangtools.yang.parser.spi.meta
Provides base abstract classes, interfaces and common implementation used by the statement parser.
-
ClassDescriptionAbstractBooleanStatementSupport<D extends DeclaredStatement<Boolean>,
E extends EffectiveStatement<Boolean, D>> Specialization ofAbstractStatementSupport
for statements which carry a Boolean argument and are essentially context-independent.AbstractEmptyStatementSupport<D extends DeclaredStatement<Empty>,E extends EffectiveStatement<Empty, D>> AbstractInternedStatementSupport<A,D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> AAbstractStatementSupport
specialized for global interning.AbstractInternedStringStatementSupport<D extends DeclaredStatement<String>,E extends EffectiveStatement<String, D>> A specialization ofAbstractInternedStatementSupport
forString
arguments.AbstractQNameStatementSupport<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName, D>> Specialization ofAbstractStatementSupport
for QName statement arguments.AbstractSchemaTreeStatementSupport<D extends DeclaredStatement<QName>,E extends SchemaTreeEffectiveStatement<D>> Specialization ofAbstractQNameStatementSupport
forSchemaTreeEffectiveStatement
implementations.AbstractStatementSupport<A,D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> Baseline implementation class for commonStatementSupport
implementations.AbstractStringStatementSupport<D extends DeclaredStatement<String>,E extends EffectiveStatement<String, D>> Specialization ofAbstractStatementSupport
for String statement arguments.AbstractUnqualifiedStatementSupport<D extends DeclaredStatement<UnresolvedQName.Unqualified>,E extends EffectiveStatement<UnresolvedQName.Unqualified, D>> Specialization ofAbstractStatementSupport
for Unqualified statement arguments.BoundStmtCtx<A>ACommonStmtCtx
which has additionally been bound to aStatementSupport
.BoundStmtCtxCompat<A,D extends DeclaredStatement<A>> Intermediate compatibility interface betweenStmtContext
andEffectiveStmtCtx.Current
.Common interface for all statement contexts, exposing information which is always available.Reactor's view of significant semantic history of a particular statement.DerivedNamespaceBehaviour<K,V, L, N extends ParserNamespace<K, V>, O extends ParserNamespace<L, ?>> AnNamespaceBehaviour
which derives keys from a different namespace.Significant state captured by anEffectiveStatement
at its instantiation site.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.Minimum amount of parent state required to build an accurate effective view of a particular child.Effectiveconfig
statement value.EffectiveStmtCtx.UndeclaredCurrent<A,D extends DeclaredStatement<A>> A restricted version ofEffectiveStmtCtx.Current
, which does not expose the raw argument or the declared statement.ForwardingStatementSupport<A,D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> Utility forwarding implementation ofStatementSupport
contract.StatementSupport
trait for statements which create intermediate parent node for some of its child nodes.Special namespace which allows import of namespaces from other sources.Thrown when there is an inference error.Thrown when there was invalid element in YANG file.Thrown when there was Missing element in yang file.Builder for effective model inference action.User-defined inference action.The concept of phase execution order, expressed as non-negative values.Mutable statement interface.NamespaceBehaviour<K,V, N extends ParserNamespace<K, V>> Definition / implementation of specific Identifier Namespace behaviour.Interface implemented byNamespaceBehaviour.NamespaceStorageNode
s which support dynamic addition of child elements as they are requested.Namespace key matching criterion.Thrown when identifier namespace is not available (supported) in a specific model processing phase.Support work with namespace content.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.SimpleEffectiveStatementState
for use with typicalSchemaTreeEffectiveStatement
s.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>> 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<A,D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> Support for processing concrete YANG statement.Statement context copy policy, indicating how should reactor handle statement copy operations.StatementSupport.StatementEquality<A,D extends DeclaredStatement<A>> Abstract base class for comparators associated with statements with aStatementSupport.CopyPolicy.DECLARED_COPY
copy policy.StatementSupport.StatementPolicy<A,D extends DeclaredStatement<A>> A baseline class for implementing theStatementFactory.canReuseCurrent(Current, Current, Collection)
contract in a manner which is consistent with a statement'sStatementSupport.CopyPolicy
.Projection ofStatementSupport
s available within a particular source.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.Intermediate compatibility interface betweenStmtContext
andEffectiveStmtCtx.Current
.UndeclaredStatementFactory<A,D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> An entity capable of creating undeclaredEffectiveStatement
instances for a particular type.