PandA-2024.02
|
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"
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... | |
Implementation of interface to token objects.
Interface implementation to token objects.
Definition in file token_interface.cpp.
#define NO_TOKEN (-1) |
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 | ( | TreeFlexLexer | ) |
const std::string TI_getTokenName | ( | const TreeVocabularyTokenTypes_TokenEnum | i | ) |
Return the name associated with the token.
i | is 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().