Class Identifier
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.Identifier
- All Implemented Interfaces:
- FromSourceLocation,- ToNode
A name used to identify a component of a rule-set.
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetName()Gets the name of this identifier.Gets the source location of a value.inthashCode()static IdentifierCreates anIdentifierfrom the given name.static Identifierof(StringNode name) Creates anIdentifierfrom the given name.toNode()Converts a value to aNode.toString()
- 
Method Details- 
ofCreates anIdentifierfrom the given name.- Parameters:
- name- the name of the identifier to create.
- Returns:
- the created Identifier.
 
- 
ofCreates anIdentifierfrom the given name.- Parameters:
- name- the name of the identifier to create.
- Returns:
- the created Identifier.
 
- 
getSourceLocationDescription copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
- getSourceLocationin interface- FromSourceLocation
- Returns:
- Returns the source location of the value.
 
- 
getNameGets the name of this identifier.- Returns:
- a node containing the name of the identifier.
 
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-