Doxygen
vhdljjparser.h 文件参考
#include <vector>
#include <memory>
#include <string>
#include "parserintf.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include "types.h"
#include "entry.h"
#include "vhdldocgen.h"
#include "config.h"
#include "util.h"
+ vhdljjparser.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  VHDLOutlineParser
 VHDL parser using state-based lexical scanning. 更多...
 

枚举

enum  { GEN_SEC =0x1, PARAM_SEC, CONTEXT_SEC, PROTECTED_SEC }
 

函数

const EntryListgetVhdlInstList ()
 
QCString filter2008VhdlComment (const char *s)
 

枚举类型说明

◆ anonymous enum

anonymous enum
枚举值
GEN_SEC 
PARAM_SEC 
CONTEXT_SEC 
PROTECTED_SEC 

在文件 vhdljjparser.h20 行定义.

函数说明

◆ 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().

GEN_SEC
@ GEN_SEC
Definition: vhdljjparser.h:20
GrowBuf::setPos
void setPos(uint newPos)
Definition: growbuf.h:97
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
CONTEXT_SEC
@ CONTEXT_SEC
Definition: vhdljjparser.h:20
PARAM_SEC
@ PARAM_SEC
Definition: vhdljjparser.h:20
PROTECTED_SEC
@ PROTECTED_SEC
Definition: vhdljjparser.h:20