private void verifyAllComponents()
    {
        // check root component has no generics
        if (!this.components.get(this.topname).getGenerics().isEmpty())
            genericError(String.format("top component %s cannot contain generics", this.topname));
        // verify all components
        for (Component component : this.components.values())
        {
            this.currentComponent = component.name;
            this.verifyPortArch(component.ast);
            this.verifyIdentifiers(component.ast);
            this.verifyConstantExpressions(component.ast);
            this.verifyTypes(component.ast);
        }
    }
private void verifyAllComponents()
    {
       
        if (!this.components.get(this.topname).getGenerics().isEmpty())
            genericError(String.format("top component %s cannot contain generics", this.topname));
       
        for (Component component : this.components.values())
        {
            this.currentComponent = component.name;
            this.verifyPortArch(component.ast);
            this.verifyIdentifiers(component.ast);
            this.verifyConstantExpressions(component.ast);
            this.verifyTypes(component.ast);
        }
    }
private void verifyallcomponents() { if (!this.components.get(this.topname).getgenerics().isempty()) genericerror(string.format("top component %s cannot contain generics", this.topname)); for (component component : this.components.values()) { this.currentcomponent = component.name; this.verifyportarch(component.ast); this.verifyidentifiers(component.ast); this.verifyconstantexpressions(component.ast); this.verifytypes(component.ast); } }