示例#1
0
 /// <summary>
 /// Creates an root declarative region containing the Standard library.
 /// </summary>
 public RootDeclarativeRegion()
 {
     libraries = VhdlCollections.CreateNamedEntityList <LibraryDeclarativeRegion>(this);
     //libraries.Add(Libraries.STD);
     //libraries.Add(Libraries.IEEE);
     scope         = Scopes.createScope(this, libraries, new UseClauseResolvable(this));
     internalScope = Scopes.createScope(this, libraries);
 }
示例#2
0
 public VhdlFile()
 {
     elements = VhdlCollections.CreateNamedEntityList <LibraryUnit>(this);
     scope    = Scopes.createScope(this, elements);
 }