PandA-2024.02
Data Structures | Public Member Functions | Data Fields | Static Public Attributes | Private Attributes
treeVocabularyTokenTypes Struct Reference

#include <token_interface.hpp>

Data Structures

struct  ltstr
 

Public Member Functions

int check_tokens (const char *tok) const
 
TreeVocabularyTokenTypes_TokenEnum bison2token (int bison) const
 
 treeVocabularyTokenTypes ()
 

Data Fields

std::map< int, TreeVocabularyTokenTypes_TokenEnumfrom_bisontoken_map
 Map between bison token and token_interface token. More...
 

Static Public Attributes

static const char * tokenNames []
 
static const int bisontokens []
 

Private Attributes

std::map< const char *, int, ltstrtoken_map
 

Detailed Description

Definition at line 724 of file token_interface.hpp.

Constructor & Destructor Documentation

◆ treeVocabularyTokenTypes()

treeVocabularyTokenTypes::treeVocabularyTokenTypes ( )

Member Function Documentation

◆ bison2token()

TreeVocabularyTokenTypes_TokenEnum treeVocabularyTokenTypes::bison2token ( int  bison) const

Definition at line 885 of file token_interface.cpp.

References el, from_bisontoken_map, and THROW_ASSERT.

◆ check_tokens()

int treeVocabularyTokenTypes::check_tokens ( const char *  tok) const

Definition at line 873 of file token_interface.cpp.

References bisontokens, el, and token_map.

Field Documentation

◆ bisontokens

const int treeVocabularyTokenTypes::bisontokens
static

Definition at line 727 of file token_interface.hpp.

Referenced by check_tokens(), and treeVocabularyTokenTypes().

◆ from_bisontoken_map

std::map<int, TreeVocabularyTokenTypes_TokenEnum> treeVocabularyTokenTypes::from_bisontoken_map

Map between bison token and token_interface token.

Definition at line 730 of file token_interface.hpp.

Referenced by bison2token(), and treeVocabularyTokenTypes().

◆ token_map

std::map<const char*, int, ltstr> treeVocabularyTokenTypes::token_map
private

Definition at line 743 of file token_interface.hpp.

Referenced by check_tokens(), and treeVocabularyTokenTypes().

◆ tokenNames

const char * treeVocabularyTokenTypes::tokenNames
static

Definition at line 726 of file token_interface.hpp.

Referenced by TI_getTokenName(), and treeVocabularyTokenTypes().


The documentation for this struct was generated from the following files:

Generated on Mon Feb 12 2024 13:04:08 for PandA-2024.02 by doxygen 1.8.13