public interface AttributeKey
A key to be used as a key-attribute pair. This is used to associate
information of any kind to AST nodes.
Each attribute key has a name. Two different attribute keys can have the same
name. They are only equal if they are the same object.
Each attribute key has a class. This is type to which every attribute value
must belong.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class of this attribute.Returns the name of this attribute.
-
Method Details
-
getAttributeName
String getAttributeName()Returns the name of this attribute.- Returns:
- the name of the attribute
-
getAttributeClass
Returns the class of this attribute. This is the type to which every attribute value associated to this key must belong.- Returns:
- the attribute class
-