Uses of Class
org.opendaylight.yangtools.yang.parser.spi.source.StatementSourceReference
Packages that use StatementSourceReference
Package
Description
Provides base abstract classes, interfaces and common implementation used by the statement parser.
Provides API necessary for the processing of statement sources.
-
Uses of StatementSourceReference in org.opendaylight.yangtools.yang.parser.spi.meta
Methods in org.opendaylight.yangtools.yang.parser.spi.meta that return StatementSourceReferenceModifier and TypeMethodDescription@NonNull StatementSourceReferenceCommonStmtCtx.sourceReference()Returns a reference to statement source.Methods in org.opendaylight.yangtools.yang.parser.spi.meta with parameters of type StatementSourceReferenceModifier and TypeMethodDescriptionstatic voidInferenceException.throwIf(boolean expression, @NonNull StatementSourceReference source, @NonNull String format, Object... args) Throw an instance of this exception if an expression evaluates to true.Constructors in org.opendaylight.yangtools.yang.parser.spi.meta with parameters of type StatementSourceReferenceModifierConstructorDescriptionInferenceException(@NonNull String message, @NonNull StatementSourceReference source) InferenceException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) InferenceException(@NonNull StatementSourceReference source, @NonNull String format, Object... args) InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source) InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) InvalidSubstatementException(@NonNull StatementSourceReference source, @NonNull String format, Object... args) MissingSubstatementException(@NonNull String message, @NonNull StatementSourceReference source) MissingSubstatementException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) MissingSubstatementException(@NonNull StatementSourceReference source, @NonNull String format, Object... args) -
Uses of StatementSourceReference in org.opendaylight.yangtools.yang.parser.spi.source
Modifier and TypeClassDescriptionclassReference of statement source present in textual source format.final classAn implicit sub-statement, which is implied to be always present in its parent, even if it does not appear in model source.Methods in org.opendaylight.yangtools.yang.parser.spi.source that return StatementSourceReferenceModifier and TypeMethodDescription@NonNull StatementSourceReferenceSourceException.getSourceReference()Return the reference to the source which caused this exception.StatementWriter.ResumedStatement.getSourceReference()Return statement source reference.Methods in org.opendaylight.yangtools.yang.parser.spi.source with parameters of type StatementSourceReferenceModifier and TypeMethodDescriptionvoidStatementWriter.endStatement(@NonNull StatementSourceReference ref) Ends current opened statement.static ImplicitSubstatementImplicitSubstatement.of(StatementSourceReference parentRef) Create a newImplicitSubstatement.voidStatementWriter.startStatement(int childId, @NonNull QName name, @Nullable String argument, @NonNull StatementSourceReference ref) Starts statement with supplied name and location in source.static voidSourceException.throwIf(boolean expression, @NonNull StatementSourceReference source, @NonNull String format, Object... args) Throw an instance of this exception if an expression evaluates to true.static <T> @NonNull TSourceException.throwIfNull(@Nullable T obj, @NonNull StatementSourceReference source, @NonNull String format, Object... args) Throw an instance of this exception if an object is null.static <T> @NonNull TSourceException.unwrap(Optional<T> opt, @NonNull StatementSourceReference source, @NonNull String format, Object... args) Throw an instance of this exception if an optional is not present.Constructors in org.opendaylight.yangtools.yang.parser.spi.source with parameters of type StatementSourceReferenceModifierConstructorDescriptionSourceException(@NonNull String message, @NonNull StatementSourceReference source) Create a new instance with the specified message and source.SourceException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) Create a new instance with the specified message and source.SourceException(@NonNull StatementSourceReference source, @NonNull String format, Object... args) Create a new instance with the specified source and a formatted message.SourceException(@NonNull StatementSourceReference source, Throwable cause, @NonNull String format, Object... args) Create a new instance with the specified source and a formatted message.YangVersionLinkageException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)