104 int ll=strComment.
length();
105 if (!gBlock) gBlock =
new Entry;
109 int len=strComment.
length();
120 strComment=strComment.
left(index);
128 if (!gBlock) gBlock =
new Entry;
170 if (strlen(fileName)==0)
194 VhdlParser::current_root=root;
195 VhdlParser::lastCompound=0;
196 VhdlParser::lastEntity=0;
197 VhdlParser::currentCompound=0;
198 VhdlParser::lastEntity=0;
199 VhdlParser::current=
new Entry();
206 VhdlParser::current=0;
224 for (
const char*
c=text ; *
c ; ++
c )
262 lastCompound->addSubEntry(
current);
268 lastEntity->addSubEntry(
current);
325 bool isEndCode=doc.
contains(
"\\endcode");
342 bool needsEntry=
FALSE;
370 int j=doc.
find(
"[plant]");
430 int u=genLabels.
find(
"|",1);
501 if (impure==
"impure" || impure==
"pure")
533 arg->
name=q1[ii].utf8();
588 else if (level<levelCounter)
595 else if (level>levelCounter)
607 confName=lastCompound->name;
611 co=
new VhdlConfNode(a,b,confName.lower().data(),forL.lower().data(),isLeaf);
623 const char *s4,
const char *s5,
const char *s6)
632 arg->
name=ql[u].utf8();
643 if (parse_sec==
GEN_SEC && param_sec==0)
679 for (;(rt=eli.
current());++eli)
681 if (addLibUseClause(rt->
name))
686 for (eLib.toFirst();(current=eLib.current());++eLib)
793 bool isEndCode=qcs.
contains(
"\\endcode");
809 if (!isEndCode && index==-1)
811 int j=qcs.
find(
"--!");
825 if (pTemp->
isEmpty())
return false;
844 for (;(rt=eli.current());++eli)
846 if (rt->bodyLine==line)
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
QCString includeName
include name (3 arg of \class)
static QCString getIndexWord(const char *, int index)
static Entry * current_root
static void oneLineComment(QCString qcs)
QCString stripWhiteSpace() const
This file contains a number of basic enums and types.
uint64 spec
class/member specifiers
static void pushLabel(QCString &, QCString &)
QList< VhdlConfNode > & getVhdlConfiguration()
static void deleteAllChars(QCString &s, char c)
void parsePrototype(const char *text)
int contains(char c, bool cs=TRUE) const
void append(const type *d)
static bool isFuncProcProced()
Abstract interface for programming language parsers.
QCString read
property read accessor
static void initEntry(Entry *e)
int briefLine
line number at which the brief desc. was found
QList< Entry > & getVhdlInstList()
void parseInput(const char *fileName, const char *fileBuf, Entry *root, bool sameTranslationUnit, QStrList &filesInSameTranslationUnit)
int docLine
line number at which the documentation was found
ArgumentList * argList
member arguments as a list
void addSubEntry(Entry *e)
static const MemberDef * getFlowMember()
static struct @12 str_doc
QList< Entry > * getEntryAtLine(const Entry *ce, int line)
static void handleFlowComment(const char *)
static void addConfigureNode(const char *a, const char *b, bool, bool isLeaf, bool inlineConf)
QCString left(uint len) const
bool stripPrefix(const char *prefix)
int find(char c, int index=0, bool cs=TRUE) const
int findRev(char c, int index=-1, bool cs=TRUE) const
static void addVhdlType(const char *n, int startLine, int section, uint64 spec, const char *args, const char *type, Protection prot)
static QCString getRecordNumber()
static void resetCodeVhdlParserState()
static void handleCommentBlock(const QCString &doc, bool brief)
bool insert(uint i, const type *d)
static Entry * current_root
static void alignFuncProc(QCString &q, const ArgumentList *al, bool isFunc)
static void mapLibPackage(Entry *root)
This class contains the information about the argument of a function or template. ...
static bool isVhdlClass(const Entry *cu)
QCString brief
brief description (doc block)
int endBodyLine
line number where the definition ends
static QCString yyFileName
const QList< Entry > * children() const
static QCString strComment
QCString right(uint len) const
static void addCompInst(const char *n, const char *instName, const char *comp, int iLine)
static QCString popLabel(QCString &q)
QCString exception
throw specification
int startLine
start line of entry in the source
QCString & prepend(const char *s)
static QCString inputString
QCString args
member argument string
QCString write
property write accessor
A bunch of utility functions.
const char * data() const
Protection protection
class protection
#define Config_getBool(val)
bool isConstraintFile(const QCString &fileName, const QCString &ext)
bool checkMultiComment(QCString &qcs, int line)
static void parseUCF(const char *input, Entry *entity, QCString f, bool vendor)
static ParserInterface * g_thisParser
static void prepareComment(QCString &)
static void addFlowChart(int type, const char *text, const char *exp, const char *label=NULL)
static QList< Entry > instFiles
QCString mid(uint index, uint len=0xffffffff) const
QCString inbodyDocs
documentation inside the body of a function
QCString doc
documentation block (partly parsed)
static Entry * lastCompound
bool checkInlineCode(QCString &doc)
static void writeFlowChart()
static QList< Entry > lineEntry
static QList< VhdlConfNode > configL
static void parseVhdlfile(const char *inputBuffer, bool inLine)
static bool addLibUseClause(const QCString &type)
void line(double t, double *p, double &x, double &y, double &z)
static void createFunction(const char *impure, uint64 spec, const char *fname)
QCString fileName
file this entry was extracted from
void makeInlineDoc(int endCode)
static Entry * currentCompound
static Entry * lastEntity
Entry * getVhdlCompound()
static void setLineParsed(int tok)
static void setMultCommentLine()
static void handleCommentBlock(const char *doc, bool brief)
static QList< Entry > libUse
SrcLangExt lang
programming language in which this entry was found
static QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries=FALSE)
void setAutoDelete(bool enable)
QCString & remove(uint index, uint len)
void startCodeBlock(int index)
QCString & append(const char *s)
int section
entry type (see Sections);
int bodyLine
line number of the definition in the source
unsigned long long uint64
static QCString genLabels
static void addProto(const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6)