@Beta public final class ASTSchemaSource extends Object implements SchemaSourceRepresentation
Instances of this representation are used for caching purposes, as they are a natural intermediate step in YANG text processing pipeline: the text has been successfully parsed, so we know it is syntactically correct. It also passes basic semantic validation and we were able to extract dependency information.
| Modifier and Type | Method and Description | 
|---|---|
| @NonNull org.antlr.v4.runtime.ParserRuleContext | getAST()Return the underlying abstract syntax tree. | 
| @NonNull YangModelDependencyInfo | getDependencyInformation()Return the dependency information as extracted from the AST. | 
| SourceIdentifier | getIdentifier()Return this objects Identifier. | 
| @NonNull SemVerSourceIdentifier | getSemVerIdentifier() | 
| Optional<String> | getSymbolicName()Return the symbolic name, if available. | 
| Class<? extends SchemaSourceRepresentation> | getType()Return the concrete representation type. | 
| String | toString() | 
public SourceIdentifier getIdentifier()
IdentifiablegetIdentifier in interface Identifiable<SourceIdentifier>getIdentifier in interface SchemaSourceRepresentationpublic Optional<String> getSymbolicName()
SchemaSourceRepresentationgetSymbolicName in interface SchemaSourceRepresentationpublic @NonNull SemVerSourceIdentifier getSemVerIdentifier()
public Class<? extends SchemaSourceRepresentation> getType()
SchemaSourceRepresentationgetType in interface SchemaSourceRepresentationpublic @NonNull org.antlr.v4.runtime.ParserRuleContext getAST()
public @NonNull YangModelDependencyInfo getDependencyInformation()
Copyright © 2019 OpenDaylight. All rights reserved.