Package net.sourceforge.veditor.parser

Examples of net.sourceforge.veditor.parser.OutlineDatabase


        parent=null;
      }
    }
   
    // not found in this file, search it in packages of other files
    OutlineDatabase database = doc.getOutlineDatabase();
   
    if (database != null) {
      OutlineElement[] elements = database.findTopLevelElements("");
      for (int i = 0; i < elements.length; i++) {
        if(elements[i] instanceof PackageDeclElement ){
          OutlineElement[] subPackageElements=elements[i].getChildren();
          for(int j=0; j< subPackageElements.length; j++){
            if (subPackageElements[j] instanceof TypeDecl
View Full Code Here


   
    //if no entity was found, bail
    if (entityName == null){
      return;
    }
    OutlineDatabase database = doc.getOutlineDatabase();
    OutlineContainer outline = database.getOutlineContainer(file);
    Object[] children= outline.getTopLevelElements();
   
    for (int i=0;i<children.length;i++){
      if (children[i] instanceof EntityDeclElement) {
        EntityDeclElement entityDecl = (EntityDeclElement) children[i];     
View Full Code Here

      else{
        parent=null;
      }
    } 
    //look into packages
    OutlineDatabase database = doc.getOutlineDatabase();
   
    if (database != null) {
      OutlineElement[] elements = database.findTopLevelElements("");
      for (int i = 0; i < elements.length; i++) {
        if(elements[i] instanceof PackageDeclElement){
          OutlineElement[] subPackageElements=elements[i].getChildren();
          for(int j=0; j< subPackageElements.length; j++){
            if(subPackageElements[j] instanceof VhdlSubprogram) {
View Full Code Here

      }
    }
   
    // now search in the port of the entity of this architecture:
    if(architectureEntityName!=null){
      OutlineDatabase database = doc.getOutlineDatabase();
      OutlineContainer outline = database.getOutlineContainer(doc.getFile());
      OutlineElement[] children= outline.getTopLevelElements();
     
      for (OutlineElement child:children){
        if (! (child instanceof EntityDeclElement)) continue;
        EntityDeclElement entityDecl = (EntityDeclElement) child;     
View Full Code Here

          }
        }
        currentElement=currentElement.getParent();
      }
      //Global definitions
      OutlineDatabase database=getOutlineDatabase();
      for(OutlineElement element: database.findTopLevelElements(name, true)){
        if (element instanceof VerilogModuleElement &&           
            //do not add the same thing twice
            results.contains(element)==false){
           
          results.add(element);
View Full Code Here

TOP

Related Classes of net.sourceforge.veditor.parser.OutlineDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.