Interface NameDeclaration
-
- All Known Implementing Classes:
AbstractNameDeclaration
public interface NameDeclaration
This is a declaration of a name, e.g. a variable or method name. SeeAbstractNameDeclaration
for a base class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getImage()
Gets the image of the node.String
getName()
Gets the name of the declaration, such as the variable name.ScopedNode
getNode()
Gets the node which manifests the declaration.Scope
getScope()
Gets the scope in which this name has been declared.
-
-
-
Method Detail
-
getNode
ScopedNode getNode()
Gets the node which manifests the declaration.- Returns:
- the node
-
getImage
String getImage()
Gets the image of the node. This is usually the name of the declaration such as the variable name.- Returns:
- the image
- See Also:
getName()
-
getScope
Scope getScope()
Gets the scope in which this name has been declared.- Returns:
- the scope
-
getName
String getName()
Gets the name of the declaration, such as the variable name.- Returns:
-
-