Package org.opendaylight.yangtools.yang.parser.spi.source
Provides API necessary for the processing of statement sources.
-
Interface Summary Interface Description BelongsToModuleContext Namespace key class for storing belongs-to statements in YANG model storage.BelongsToPrefixToModuleCtx Source-specific mapping of belongsTo prefixes to module identifiers.BelongsToPrefixToModuleName Source-specific mapping of prefixes to namespaces.ImportedModuleContext ImportPrefixToModuleCtx Source-specific mapping of prefix strings to module context.ImportPrefixToSemVerSourceIdentifier Deprecated, for removal: This API element is subject to removal in a future version. ImpPrefixToNamespace Pre-linkage source-specific mapping of prefixes to module namespaces.IncludedModuleContext IncludedSubmoduleNameToModuleCtx Source-specific mapping of prefixes to namespaces.ModuleCtxToModuleQName Global mapping of modules to QNameModules.ModuleCtxToSourceIdentifier Global mapping of modules to source identifier.ModuleNamespaceForBelongsTo namespace class similar toModuleNamespace
for storing modules into Yang model storage but keyed by plain name.ModuleNameToModuleQName Source-specific mapping of prefixes to namespaces.ModuleNameToNamespace Pre-linkage global mapping of module names to namespaces.ModuleQNameToModuleName Source-specific mapping of prefixes to namespaces.ModulesDeviatedByModules Namespace used for storing information about modules that support deviation resolution.PrefixToModule Source-specific mapping of prefixes to namespaces.QNameToStatementDefinition Map of fully qualified statement name to statement definition.StatementStreamSource Statement stream source, which is used for inference of effective model.StatementWriter StatementWriter.ResumedStatement Resumed statement state.SupportedFeaturesNamespace -
Class Summary Class Description ExplicitStatement Reference of statement source present in textual source format.ImplicitSubstatement An implicit sub-statement, which is implied to be always present in its parent, even if it does not appear in model source.PrefixToModuleMap Map-basedPrefixToModule
namespace.QNameToStatementDefinitionMap StatementSourceReference Reference of statement source. -
Exception Summary Exception Description SourceException Thrown to indicate error in YANG model source.YangVersionLinkageException An exception indicating source-level problem across multiple YANG sources relating to how they are allowed to be linked between YANG versions.