Doxygen
vhdljjparser.cpp 文件参考
#include <string>
#include "qcstring.h"
#include "containers.h"
#include "vhdljjparser.h"
#include "vhdldocgen.h"
#include "message.h"
#include "config.h"
#include "doxygen.h"
#include "util.h"
#include "language.h"
#include "commentscan.h"
#include "index.h"
#include "definition.h"
#include "searchindex.h"
#include "outputlist.h"
#include "arguments.h"
#include "types.h"
#include "growbuf.h"
#include "markdown.h"
#include "VhdlParserTokenManager.h"
#include "VhdlParserErrorHandler.hpp"
#include "regex.h"
+ vhdljjparser.cpp 的引用(Include)关系图:

浏览源代码.

struct  VHDLDocInfo
 
struct  VHDLOutlineParser::Private
 

函数

static bool isConstraintFile (const QCString &fileName, const QCString &ext)
 
const EntryListgetVhdlInstList ()
 
QCString filter2008VhdlComment (const char *s)
 

变量

static EntryList g_instFiles
 
static int idCounter
 

函数说明

◆ filter2008VhdlComment()

QCString filter2008VhdlComment ( const char *  s)

在文件 vhdljjparser.cpp862 行定义.

863 {
864  GrowBuf growBuf;
865  const char *p=s+3; // skip /*!
866  char c='\0';
867  while (*p == ' ' || *p == '\t') p++;
868  while ((c=*p++))
869  {
870  growBuf.addChar(c);
871  if (c == '\n')
872  {
873  // special handling of space followed by * at beginning of line
874  while (*p == ' ' || *p == '\t') p++;
875  while (*p == '*') p++;
876  // special attention in case character at end is /
877  if (*p == '/') p++;
878  }
879  }
880  // special attention in case */ at end of last line
881  int len = growBuf.getPos();
882  if (growBuf.at(len-1) == '/' && growBuf.at(len-2) == '*')
883  {
884  len -= 2;
885  while (growBuf.at(len-1) == '*') len--;
886  c = growBuf.at(len-1);
887  while ((c = growBuf.at(len-1)) == ' ' || c == '\t') len--;
888  growBuf.setPos(len);
889  }
890  growBuf.addChar(0);
891  return growBuf.get();
892 }

引用了 GrowBuf::addChar(), GrowBuf::at(), GrowBuf::get(), GrowBuf::getPos() , 以及 GrowBuf::setPos().

◆ getVhdlInstList()

const EntryList& getVhdlInstList ( )

在文件 vhdljjparser.cpp839 行定义.

840 {
841  return g_instFiles;
842 }

引用了 g_instFiles.

被这些函数引用 VhdlDocGen::computeVhdlComponentRelations().

◆ isConstraintFile()

static bool isConstraintFile ( const QCString fileName,
const QCString ext 
)
static

在文件 vhdljjparser.cpp48 行定义.

49 {
50  return fileName.right(ext.length())==ext;
51 }

引用了 QCString::length() , 以及 QCString::right().

被这些函数引用 VHDLOutlineParser::parseInput().

变量说明

◆ g_instFiles

EntryList g_instFiles
static

在文件 vhdljjparser.cpp56 行定义.

被这些函数引用 VHDLOutlineParser::addCompInst() , 以及 getVhdlInstList().

◆ idCounter

int idCounter
static

在文件 vhdljjparser.cpp242 行定义.

被这些函数引用 VHDLOutlineParser::getNameID().

GrowBuf::setPos
void setPos(uint newPos)
Definition: growbuf.h:97
QCString::length
uint length() const
Returns the length of the string, not counting the 0-terminator.
Definition: qcstring.h:147
GrowBuf::get
char * get()
Definition: growbuf.h:94
GrowBuf::at
char at(uint i) const
Definition: growbuf.h:98
GrowBuf::addChar
void addChar(char c)
Definition: growbuf.h:54
GrowBuf
Class representing a string buffer optimised for growing.
Definition: growbuf.h:12
g_instFiles
static EntryList g_instFiles
Definition: vhdljjparser.cpp:56
GrowBuf::getPos
uint getPos() const
Definition: growbuf.h:96
QCString::right
QCString right(size_t len) const
Definition: qcstring.h:217