Doxygen
vhdl::parser::VhdlParserTokenManager类 参考

Token Manager. 更多...

#include <VhdlParserTokenManager.h>

+ 类 vhdl::parser::VhdlParserTokenManager 继承关系图:
+ vhdl::parser::VhdlParserTokenManager 的协作图:

Public 成员函数

void setDebugStream (FILE *ds)
 
int jjStopAtPos (int pos, int kind)
 
int jjMoveStringLiteralDfa0_0 ()
 
int jjMoveStringLiteralDfa1_0 (unsigned long long active0, unsigned long long active1, unsigned long long active2)
 
int jjMoveStringLiteralDfa2_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1, unsigned long long old2, unsigned long long active2)
 
int jjMoveStringLiteralDfa3_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1, unsigned long long old2, unsigned long long active2)
 
int jjMoveStringLiteralDfa4_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa5_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa6_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa7_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa8_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa9_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa10_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa11_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa12_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa13_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa14_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa15_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa16_0 (unsigned long long old0, unsigned long long active0, unsigned long long old1, unsigned long long active1)
 
int jjMoveStringLiteralDfa17_0 (unsigned long long old1, unsigned long long active1)
 
int jjMoveNfa_0 (int startState, int curPos)
 
bool jjCanMove_0 (int hiByte, int i1, int i2, unsigned long long l1, unsigned long long l2)
 
bool jjCanMove_1 (int hiByte, int i1, int i2, unsigned long long l1, unsigned long long l2)
 
TokenjjFillToken ()
 
TokengetNextToken ()
 
void SkipLexicalActions (Token *matchedToken)
 
void TokenLexicalActions (Token *matchedToken)
 
 VhdlParserTokenManager (JAVACC_CHARSTREAM *stream, int lexState=0)
 
virtual ~VhdlParserTokenManager ()
 
void ReInit (JAVACC_CHARSTREAM *stream, int lexState=0)
 
void SwitchTo (int lexState)
 
void clear ()
 
const JJSimpleString jjKindsForBitVector (int i, unsigned long long vec)
 
const JJSimpleString jjKindsForStateVector (int lexState, int vec[], int start, int end)
 
void setErrorHandler (TokenManagerErrorHandler *eh)
 
- Public 成员函数 继承自 vhdl::parser::TokenManager
virtual ~TokenManager ()
 This gets the next token from the input stream. 更多...
 
virtual void setParser (void *parser)
 
virtual void lexicalError ()
 
- Public 成员函数 继承自 vhdl::parser::TokenParser
void setLexParser (VhdlParser *p)
 

Public 属性

FILE * debugStream
 
int curLexState
 
int jjnewStateCnt
 
int jjround
 
int jjmatchedPos
 
int jjmatchedKind
 
JAVACC_CHARSTREAMinput_stream
 
int jjrounds [87]
 
int jjstateSet [2 *87]
 
JJString jjimage
 
JJString image
 
int jjimageLen
 
int lengthOfMatch
 
JJChar curChar
 
TokenManagerErrorHandlererrorHandler = nullptr
 
- Public 属性 继承自 vhdl::parser::TokenParser
VhdlParserparser = nullptr
 

Private 成员函数

void ReInitRounds ()
 

详细描述

Token Manager.

在文件 VhdlParserTokenManager.h18 行定义.

构造及析构函数说明

◆ VhdlParserTokenManager()

vhdl::parser::VhdlParserTokenManager::VhdlParserTokenManager ( JAVACC_CHARSTREAM stream,
int  lexState = 0 
)

◆ ~VhdlParserTokenManager()

virtual vhdl::parser::VhdlParserTokenManager::~VhdlParserTokenManager ( )
virtual

成员函数说明

◆ clear()

void vhdl::parser::VhdlParserTokenManager::clear ( )

◆ getNextToken()

Token* vhdl::parser::VhdlParserTokenManager::getNextToken ( )
virtual

◆ jjCanMove_0()

bool vhdl::parser::VhdlParserTokenManager::jjCanMove_0 ( int  hiByte,
int  i1,
int  i2,
unsigned long long  l1,
unsigned long long  l2 
)

◆ jjCanMove_1()

bool vhdl::parser::VhdlParserTokenManager::jjCanMove_1 ( int  hiByte,
int  i1,
int  i2,
unsigned long long  l1,
unsigned long long  l2 
)

◆ jjFillToken()

Token* vhdl::parser::VhdlParserTokenManager::jjFillToken ( )

◆ jjKindsForBitVector()

const JJSimpleString vhdl::parser::VhdlParserTokenManager::jjKindsForBitVector ( int  i,
unsigned long long  vec 
)

◆ jjKindsForStateVector()

const JJSimpleString vhdl::parser::VhdlParserTokenManager::jjKindsForStateVector ( int  lexState,
int  vec[],
int  start,
int  end 
)

◆ jjMoveNfa_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveNfa_0 ( int  startState,
int  curPos 
)

◆ jjMoveStringLiteralDfa0_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa0_0 ( )

◆ jjMoveStringLiteralDfa10_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa10_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa11_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa11_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa12_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa12_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa13_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa13_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa14_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa14_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa15_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa15_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa16_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa16_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa17_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa17_0 ( unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa1_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa1_0 ( unsigned long long  active0,
unsigned long long  active1,
unsigned long long  active2 
)

◆ jjMoveStringLiteralDfa2_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa2_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1,
unsigned long long  old2,
unsigned long long  active2 
)

◆ jjMoveStringLiteralDfa3_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa3_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1,
unsigned long long  old2,
unsigned long long  active2 
)

◆ jjMoveStringLiteralDfa4_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa4_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa5_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa5_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa6_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa6_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa7_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa7_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa8_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa8_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjMoveStringLiteralDfa9_0()

int vhdl::parser::VhdlParserTokenManager::jjMoveStringLiteralDfa9_0 ( unsigned long long  old0,
unsigned long long  active0,
unsigned long long  old1,
unsigned long long  active1 
)

◆ jjStopAtPos()

int vhdl::parser::VhdlParserTokenManager::jjStopAtPos ( int  pos,
int  kind 
)

◆ ReInit()

void vhdl::parser::VhdlParserTokenManager::ReInit ( JAVACC_CHARSTREAM stream,
int  lexState = 0 
)

◆ ReInitRounds()

void vhdl::parser::VhdlParserTokenManager::ReInitRounds ( )
private

◆ setDebugStream()

void vhdl::parser::VhdlParserTokenManager::setDebugStream ( FILE *  ds)

◆ setErrorHandler()

void vhdl::parser::VhdlParserTokenManager::setErrorHandler ( TokenManagerErrorHandler eh)
inline

在文件 VhdlParserTokenManager.h111 行定义.

111  {
112  if (errorHandler) delete errorHandler, errorHandler = nullptr;
113  errorHandler = eh;
114  }

引用了 errorHandler.

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

◆ SkipLexicalActions()

void vhdl::parser::VhdlParserTokenManager::SkipLexicalActions ( Token matchedToken)

◆ SwitchTo()

void vhdl::parser::VhdlParserTokenManager::SwitchTo ( int  lexState)

◆ TokenLexicalActions()

void vhdl::parser::VhdlParserTokenManager::TokenLexicalActions ( Token matchedToken)

类成员变量说明

◆ curChar

JJChar vhdl::parser::VhdlParserTokenManager::curChar

在文件 VhdlParserTokenManager.h107 行定义.

◆ curLexState

int vhdl::parser::VhdlParserTokenManager::curLexState

在文件 VhdlParserTokenManager.h48 行定义.

◆ debugStream

FILE* vhdl::parser::VhdlParserTokenManager::debugStream

在文件 VhdlParserTokenManager.h21 行定义.

◆ errorHandler

TokenManagerErrorHandler* vhdl::parser::VhdlParserTokenManager::errorHandler = nullptr

在文件 VhdlParserTokenManager.h108 行定义.

被这些函数引用 setErrorHandler().

◆ image

JJString vhdl::parser::VhdlParserTokenManager::image

在文件 VhdlParserTokenManager.h104 行定义.

◆ input_stream

JAVACC_CHARSTREAM* vhdl::parser::VhdlParserTokenManager::input_stream

在文件 VhdlParserTokenManager.h100 行定义.

◆ jjimage

JJString vhdl::parser::VhdlParserTokenManager::jjimage

在文件 VhdlParserTokenManager.h103 行定义.

◆ jjimageLen

int vhdl::parser::VhdlParserTokenManager::jjimageLen

在文件 VhdlParserTokenManager.h105 行定义.

◆ jjmatchedKind

int vhdl::parser::VhdlParserTokenManager::jjmatchedKind

在文件 VhdlParserTokenManager.h52 行定义.

◆ jjmatchedPos

int vhdl::parser::VhdlParserTokenManager::jjmatchedPos

在文件 VhdlParserTokenManager.h51 行定义.

◆ jjnewStateCnt

int vhdl::parser::VhdlParserTokenManager::jjnewStateCnt

在文件 VhdlParserTokenManager.h49 行定义.

◆ jjround

int vhdl::parser::VhdlParserTokenManager::jjround

在文件 VhdlParserTokenManager.h50 行定义.

◆ jjrounds

int vhdl::parser::VhdlParserTokenManager::jjrounds[87]

在文件 VhdlParserTokenManager.h101 行定义.

◆ jjstateSet

int vhdl::parser::VhdlParserTokenManager::jjstateSet[2 *87]

在文件 VhdlParserTokenManager.h102 行定义.

◆ lengthOfMatch

int vhdl::parser::VhdlParserTokenManager::lengthOfMatch

在文件 VhdlParserTokenManager.h106 行定义.


该类的文档由以下文件生成:
vhdl::parser::VhdlParserTokenManager::errorHandler
TokenManagerErrorHandler * errorHandler
Definition: VhdlParserTokenManager.h:108