#include "config.h"
#include "EDoc/Dictionary.h"
#include "EDoc/Type.h"
#include "EDoc/Function.h"
#include "EDoc/FunctionType.h"
#include "EDoc/File.h"
#include "EDoc/PersistenceIFace.h"
#include "EDoc/exceptions.h"
#include "EDoc/Logger.h"
#include "EDoc/utils.h"
#include "EDoc/PStack.h"
#include "EDoc/StackRef.h"
#include "EDoc/NotificationIFace.h"
#include "EDoc/TranslationUnit.h"
#include "EDoc/persistence_data.h"
#include "IndexedDictionary.h"
#include <iomanip>
#include <set>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | EDoc |
Defines | |
#define | EDOC_MERGE_ERROR(Message) |
define a small macro that is called upon a merge error. | |
#define | EDOC_REPLACE(DataType, Data, From, To, Count) if ((void*)Data == From) {Data = (DataType*)To; Count++;} |
Functions | |
static bool | EDoc::LessThanCallComplexity (const Function *left, const Function *right) |
Returns true if the callgraph complexity of left is less than that of right. | |
static void | EDoc::AddRethrow (std::list< PropogatingException > &exceptions, PropogatingException &exception, FunctionLoc &fcall, std::list< PropogatingException > &poss_curr_catch_types) |
(BRIEF DESC NOT PROVIDED). | |
static bool | EDoc::AddPException (Dictionary &dict, std::list< PropogatingException > &exceptions, PropogatingException &exception, FunctionLoc &fcall, std::list< PropogatingException > &poss_curr_catch_types) |
(BRIEF DESC NOT PROVIDED). | |
static bool | EDoc::AddOException (Dictionary &dict, std::list< PropogatingException > &exceptions, Exception &exception, std::list< PropogatingException > &poss_curr_catch_types) |
(BRIEF DESC NOT PROVIDED). | |
static bool | EDoc::AddExceptions (std::list< PropogatingException > &exceptions, std::list< PropogatingException > &add) |
(BRIEF DESC NOT PROVIDED). | |
Dictionary * | EDoc::GetCurrentDictionary () |
Returns the currently active dictionary instance that is in the staging area. | |
Dictionary * | EDoc::GetCurrentDictionaryAssert () |
Returns the currently active dictionary instance that is in the staging area. | |
void | EDoc::SetCurrentDictionary (Dictionary *current_in) |
Set the currently active dictionary. | |
static int | EDoc::CalculateTotalFunctionCalls (std::set< Function * > &processed, std::vector< Function * > &curr_stack, Function *f) |
static int | EDoc::CalculateTotalFunctionCalls (std::set< Function * > &processed, std::vector< Function * > &curr_stack, CodeBlock &cb) |
Variables | |
static Dictionary * | EDoc::current = NULL |
#define EDOC_MERGE_ERROR | ( | Message | ) |
Value:
EDOC_Error(Message); \ EDOC_THROW_EXCEPTION(MergeException, "Failed merging dictionary.", Message);
Definition at line 47 of file Dictionary.cpp.
Referenced by EDoc::Type::Merge(), EDoc::Location::Merge(), EDoc::FunctionType::Merge(), EDoc::Function::Merge(), and EDoc::File::Merge().
#define EDOC_REPLACE | ( | DataType, | |||
Data, | |||||
From, | |||||
To, | |||||
Count | ) | if ((void*)Data == From) {Data = (DataType*)To; Count++;} |
Definition at line 1595 of file Dictionary.cpp.
Referenced by EDoc::TypeLoc::ReplaceReferences(), EDoc::Type::ReplaceReferences(), EDoc::Location::ReplaceReferences(), EDoc::FunctionTypeLoc::ReplaceReferences(), EDoc::FunctionType::ReplaceReferences(), EDoc::FunctionLoc::ReplaceReferences(), EDoc::Function::ReplaceReferences(), EDoc::Exception::ReplaceReferences(), and EDoc::Dictionary::ReplaceReferences().