summaryrefslogtreecommitdiff
path: root/src/vhdlscanner.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:45:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:45:59 +0900
commit046aece77e373b5280b56bf871fa6e974d06e85d (patch)
tree629c4681a5158d26512b815623754b33165d8d23 /src/vhdlscanner.h
parentcccf3a7c7888ce7bd7a8f8d48a34c5474ad9feeb (diff)
downloaddoxygen-046aece77e373b5280b56bf871fa6e974d06e85d.tar.gz
doxygen-046aece77e373b5280b56bf871fa6e974d06e85d.tar.bz2
doxygen-046aece77e373b5280b56bf871fa6e974d06e85d.zip
Imported Upstream version 1.8.3upstream/1.8.3
Diffstat (limited to 'src/vhdlscanner.h')
-rw-r--r--src/vhdlscanner.h26
1 files changed, 13 insertions, 13 deletions
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 <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();