Doxygen
Loading...
Searching...
No Matches
vhdl::parser::VhdlParserTokenManager Class Reference

Token Manager. More...

#include <vhdlparser/VhdlParserTokenManager.h>

+ Inheritance diagram for vhdl::parser::VhdlParserTokenManager:
+ Collaboration diagram for vhdl::parser::VhdlParserTokenManager:

Public Member Functions

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 ()
 This gets the next token from the input stream.
 
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 Member Functions inherited from vhdl::parser::TokenManager
virtual ~TokenManager ()
 
virtual void setParser (void *parser)
 
virtual void lexicalError ()
 
- Public Member Functions inherited from vhdl::parser::TokenParser
void setLexParser (VhdlParser *p)
 

Public Attributes

FILE * debugStream
 
int curLexState = 0
 
int jjnewStateCnt = 0
 
int jjround = 0
 
int jjmatchedPos = 0
 
int jjmatchedKind = 0
 
JAVACC_CHARSTREAMinput_stream
 
int jjrounds [83]
 
int jjstateSet [2 *83]
 
JJString jjimage
 
JJString image
 
int jjimageLen
 
int lengthOfMatch
 
JJChar curChar
 
TokenManagerErrorHandlererrorHandler = nullptr
 
- Public Attributes inherited from vhdl::parser::TokenParser
VhdlParserparser = nullptr
 

Private Member Functions

void ReInitRounds ()
 

Detailed Description

Token Manager.

Definition at line 18 of file VhdlParserTokenManager.h.

Constructor & Destructor Documentation

◆ VhdlParserTokenManager()

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

◆ ~VhdlParserTokenManager()

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

Member Function Documentation

◆ clear()

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

◆ getNextToken()

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

This gets the next token from the input stream.

A token of kind 0 (<EOF>) should be returned on EOF.

Implements vhdl::parser::TokenManager.

◆ 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

Definition at line 111 of file VhdlParserTokenManager.h.

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

References errorHandler.

Referenced by 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)

Member Data Documentation

◆ curChar

JJChar vhdl::parser::VhdlParserTokenManager::curChar

Definition at line 107 of file VhdlParserTokenManager.h.

◆ curLexState

int vhdl::parser::VhdlParserTokenManager::curLexState = 0

Definition at line 48 of file VhdlParserTokenManager.h.

◆ debugStream

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

Definition at line 21 of file VhdlParserTokenManager.h.

◆ errorHandler

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

Definition at line 108 of file VhdlParserTokenManager.h.

Referenced by setErrorHandler().

◆ image

JJString vhdl::parser::VhdlParserTokenManager::image

Definition at line 104 of file VhdlParserTokenManager.h.

◆ input_stream

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

Definition at line 100 of file VhdlParserTokenManager.h.

◆ jjimage

JJString vhdl::parser::VhdlParserTokenManager::jjimage

Definition at line 103 of file VhdlParserTokenManager.h.

◆ jjimageLen

int vhdl::parser::VhdlParserTokenManager::jjimageLen

Definition at line 105 of file VhdlParserTokenManager.h.

◆ jjmatchedKind

int vhdl::parser::VhdlParserTokenManager::jjmatchedKind = 0

Definition at line 52 of file VhdlParserTokenManager.h.

◆ jjmatchedPos

int vhdl::parser::VhdlParserTokenManager::jjmatchedPos = 0

Definition at line 51 of file VhdlParserTokenManager.h.

◆ jjnewStateCnt

int vhdl::parser::VhdlParserTokenManager::jjnewStateCnt = 0

Definition at line 49 of file VhdlParserTokenManager.h.

◆ jjround

int vhdl::parser::VhdlParserTokenManager::jjround = 0

Definition at line 50 of file VhdlParserTokenManager.h.

◆ jjrounds

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

Definition at line 101 of file VhdlParserTokenManager.h.

◆ jjstateSet

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

Definition at line 102 of file VhdlParserTokenManager.h.

◆ lengthOfMatch

int vhdl::parser::VhdlParserTokenManager::lengthOfMatch

Definition at line 106 of file VhdlParserTokenManager.h.


The documentation for this class was generated from the following file: