PandA-2024.02
Macros | Functions
token_interface.cpp File Reference

Implementation of interface to token objects. More...

#include "token_interface.hpp"
#include "config_HAVE_BISON_2_7_OR_GREATER.hpp"
#include <cstring>
#include <fstream>
#include <iosfwd>
#include "refcount.hpp"
#include "treeParser.h"
#include "exceptions.hpp"
Include dependency graph for token_interface.cpp:

Go to the source code of this file.

Macros

#define NO_TOKEN   (-1)
 Tree include. More...
 

Functions

 REF_FORWARD_DECL (BisonParserData)
 Header include. More...
 
 REF_FORWARD_DECL (TreeFlexLexer)
 
const std::string TI_getTokenName (const TreeVocabularyTokenTypes_TokenEnum i)
 Return the name associated with the token. More...
 

Detailed Description

Implementation of interface to token objects.

Interface implementation to token objects.

Author
Fabrizio Ferrandi <ferrandi.elet.polimi.it>
Marco Lattuada lattu.nosp@m.ada@.nosp@m.elet..nosp@m.poli.nosp@m.mi.it

Definition in file token_interface.cpp.

Macro Definition Documentation

◆ NO_TOKEN

#define NO_TOKEN   (-1)

Tree include.

Utility include

Definition at line 70 of file token_interface.cpp.

Function Documentation

◆ REF_FORWARD_DECL() [1/2]

REF_FORWARD_DECL ( BisonParserData  )

Header include.

STD include Utility include NOTE: forward declarations of BisonParserData and TreeFlexLexer are in this point since they will be used in treeParser.h

◆ REF_FORWARD_DECL() [2/2]

REF_FORWARD_DECL ( TreeFlexLexer  )

◆ TI_getTokenName()

const std::string TI_getTokenName ( const TreeVocabularyTokenTypes_TokenEnum  i)

Return the name associated with the token.

Parameters
iis the token coding.

Definition at line 867 of file token_interface.cpp.

References treeVocabularyTokenTypes::tokenNames.

Referenced by tree_helper::print_function_name(), and raw_writer::write_when_not_null_point_to().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:32 for PandA-2024.02 by doxygen 1.8.13