de.upb.hni.vmagic.libraryunit
Class UseClause

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.libraryunit.LibraryUnit
          extended by de.upb.hni.vmagic.libraryunit.UseClause
All Implemented Interfaces:
BlockDeclarativeItem, ConfigurationDeclarativeItem, DeclarativeItemMarker, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, DeclarativeRegion

public class UseClause
extends LibraryUnit
implements BlockDeclarativeItem, ConfigurationDeclarativeItem, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem

Use clause.


Constructor Summary
UseClause(java.util.List<java.lang.String> declarations)
          Creates a use clause.
UseClause(java.lang.String... declarations)
          Creates a use clause.
 
Method Summary
 java.util.List<java.lang.String> getDeclarations()
          Returns the list of declarations in this use clause
 Scope getScope()
          Returns the scope of this declarative region.
 
Methods inherited from class de.upb.hni.vmagic.VhdlElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseClause

public UseClause(java.lang.String... declarations)
Creates a use clause.

Parameters:
declarations - the declarations

UseClause

public UseClause(java.util.List<java.lang.String> declarations)
Creates a use clause.

Parameters:
declarations - the declarations
Method Detail

getDeclarations

public java.util.List<java.lang.String> getDeclarations()
Returns the list of declarations in this use clause

Returns:
the list of declarations

getScope

public Scope getScope()
Description copied from interface: DeclarativeRegion
Returns the scope of this declarative region.

Specified by:
getScope in interface DeclarativeRegion
Returns:
the scope