de.upb.hni.vmagic
Class RootDeclarativeRegion

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.RootDeclarativeRegion
All Implemented Interfaces:
DeclarativeRegion

public class RootDeclarativeRegion
extends VhdlElement
implements DeclarativeRegion

Root declarative region. The root declarative region is the base of the scope tree and can contain multiple libraries.


Constructor Summary
RootDeclarativeRegion()
          Creates an root declarative region containing the Standard library.
 
Method Summary
 java.util.List<LibraryDeclarativeRegion> getLibraries()
          Returns the libraries in this root declarative region.
 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

RootDeclarativeRegion

public RootDeclarativeRegion()
Creates an root declarative region containing the Standard library.

Method Detail

getLibraries

public java.util.List<LibraryDeclarativeRegion> getLibraries()
Returns the libraries in this root declarative region.

Returns:
a modifiable list of library declarative regions

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