Class AbstractNameDeclaration

  • All Implemented Interfaces:
    NameDeclaration

    public abstract class AbstractNameDeclaration
    extends java.lang.Object
    implements NameDeclaration
    Base class for all name declarations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ScopedNode node  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getImage()
      Gets the image of the node.
      java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractNameDeclaration

        public AbstractNameDeclaration​(ScopedNode node)