Class MandatorySourceLocation
java.lang.Object
software.amazon.smithy.rulesengine.language.util.MandatorySourceLocation
- All Implemented Interfaces:
FromSourceLocation
- Direct Known Subclasses:
Endpoint
,EndpointRuleSet
,Expression
,Identifier
,Template
Abstract class that mandates that all child classes provide a source location.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the source location of a value.
-
Constructor Details
-
MandatorySourceLocation
-
-
Method Details
-
getSourceLocation
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-