summaryrefslogtreecommitdiffstats
path: root/src/vhdlscanner.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
commitfee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/vhdlscanner.h
parentceb4115c7b941039411e1793e01239610ff112a2 (diff)
downloadDoxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/vhdlscanner.h')
-rw-r--r--src/vhdlscanner.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/vhdlscanner.h b/src/vhdlscanner.h
index 7fbed18..c1192cf 100644
--- a/src/vhdlscanner.h
+++ b/src/vhdlscanner.h
@@ -30,7 +30,6 @@
#include <qdict.h>
#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<VhdlConfNode> 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();