Interface NameDeclaration
-
- All Known Implementing Classes:
AbstractNameDeclaration
public interface NameDeclarationThis is a declaration of a name, e.g. a variable or method name. SeeAbstractNameDeclarationfor a base class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetImage()Gets the image of the node.StringgetName()Gets the name of the declaration, such as the variable name.ScopedNodegetNode()Gets the node which manifests the declaration.ScopegetScope()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:
-
-