From 046aece77e373b5280b56bf871fa6e974d06e85d Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 15 Oct 2021 10:45:59 +0900 Subject: Imported Upstream version 1.8.3 --- src/vhdlscanner.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/vhdlscanner.h') diff --git a/src/vhdlscanner.h b/src/vhdlscanner.h index aea92f1..c1192cf 100644 --- a/src/vhdlscanner.h +++ b/src/vhdlscanner.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id: vhdlscanner.h,v 1.9 2001/03/19 19:27:39 root Exp $ + * * * Copyright (C) 1997-2012 by Dimitri van Heesch. * @@ -30,7 +30,6 @@ #include #include "entry.h" -#include "memberlist.h" class Entry; class ClassSDict; @@ -38,6 +37,7 @@ class FileStorage; class ClassDef; class MemberDef; class QStringList; +class MemberList; /** VHDL parser using state-based lexical scanning. @@ -79,33 +79,33 @@ struct VhdlContainer Entry* root; // root }; -/** Configuation node for VHDL */ +/** Configuration node for VHDL */ struct VhdlConfNode { - VhdlConfNode *prevNode; - VhdlConfNode(const char* a,const char* b,const char* config) + VhdlConfNode(const char* a,const char* b,const char* config,const char* cs,bool leaf) { arch=a; // architecture e.g. for iobuffer + arch=arch.lower(); binding=b; // binding e.g. use entiy work.xxx(bev) + binding=binding.lower(); confVhdl=config; // configuration foo is bar - isBind=false; - prevNode=NULL; - isRoot=false; + compSpec=cs; isInlineConf=false; // primary configuration? + isLeaf=leaf; }; QCString confVhdl; QCString arch; QCString binding; - QList confN; - bool isBind; + QCString compSpec; + int level; + bool isLeaf; bool isInlineConf; - bool isRoot; - void addNode(VhdlConfNode* n) { confN.append(n); } - bool isBinding() { return binding.isEmpty(); } }; + + // returns the current conpound entity,architecture, package,package body Entry* getVhdlCompound(); -- cgit v1.2.3