Code::Blocks  SVN r11506
Classes | Typedefs | Enumerations | Variables
tokentree.h File Reference
#include <wx/string.h>
#include <wx/thread.h>
#include <vector>
#include <deque>
#include "token.h"
#include "searchtree.h"
Include dependency graph for tokentree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TokenTree
 a container class to hold all the Tokens getting from parsing stage More...
 

Typedefs

typedef std::deque< int > TokenIdxList
 
typedef std::vector< Token * > TokenList
 
typedef SearchTree< TokenIdxSetTokenSearchTree
 
typedef BasicSearchTree TokenFilenameMap
 
typedef std::map< size_t, TokenIdxSet, std::less< size_t > > TokenFileMap
 
typedef std::map< size_t, FileParsingStatus, std::less< size_t > > TokenFileStatusMap
 
typedef std::map< int, wxStringTokenIdxStringMap
 

Enumerations

enum  FileParsingStatus { fpsNotParsed = 0, fpsAssigned, fpsBeingParsed, fpsDone }
 

Variables

wxMutex s_TokenTreeMutex
 

Typedef Documentation

◆ TokenFileMap

typedef std::map< size_t, TokenIdxSet, std::less<size_t> > TokenFileMap

Definition at line 25 of file tokentree.h.

◆ TokenFilenameMap

Definition at line 24 of file tokentree.h.

◆ TokenFileStatusMap

typedef std::map< size_t, FileParsingStatus, std::less<size_t> > TokenFileStatusMap

Definition at line 26 of file tokentree.h.

◆ TokenIdxList

typedef std::deque<int> TokenIdxList

Definition at line 21 of file tokentree.h.

◆ TokenIdxStringMap

typedef std::map< int, wxString > TokenIdxStringMap

Definition at line 27 of file tokentree.h.

◆ TokenList

typedef std::vector<Token*> TokenList

Definition at line 22 of file tokentree.h.

◆ TokenSearchTree

Definition at line 23 of file tokentree.h.

Enumeration Type Documentation

◆ FileParsingStatus

Enumerator
fpsNotParsed 
fpsAssigned 
fpsBeingParsed 
fpsDone 

Definition at line 18 of file tokentree.h.

Variable Documentation

◆ s_TokenTreeMutex

wxMutex s_TokenTreeMutex

Definition at line 49 of file tokentree.cpp.

Referenced by ClassBrowserBuilderThread::AddAncestorsOf(), ClassBrowserBuilderThread::AddChildrenOf(), ClassBrowserBuilderThread::AddDescendantsOf(), ClassBrowserBuilderThread::AddNodes(), NativeParserBase::AddTemplateAlias(), NativeParserBase::CleanupSearchScope(), NativeParserBase::CollectSearchScopes(), NativeParserBase::ComputeCallTip(), ClassBrowserBuilderThread::CreateSpecialFolders(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeCompletion::DoCodeComplete(), MarkFileAsLocalThreadedTask::Execute(), ParserThread::Execute(), ClassBrowserBuilderThread::ExpandItem(), NativeParserBase::FindCurrentFunctionScope(), NativeParser::FindCurrentFunctionStart(), NativeParser::FindCurrentFunctionToken(), ParserBase::FindTokensInFile(), DocumentationHelper::GenerateHTML(), CodeCompletion::GetTokenAt(), ClassBrowserBuilderThread::Init(), Parser::IsFileParsed(), NativeParser::MarkItemsByAI(), Parser::OnAllThreadsDone(), CodeCompletion::OnGotoDeclaration(), CodeCompletion::OnGotoFunction(), ClassBrowser::OnSearch(), ClassBrowser::OnTreeItemDoubleClick(), CodeRefactoring::Parse(), Parser::Parse(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), NativeParser::ParseBufferForUsingNamespace(), NativeParser::ParseFunctionArguments(), CodeCompletion::ParseFunctionsAndFillToolbar(), NativeParser::ParseLocalBlock(), Parser::RemoveFile(), ClassBrowserBuilderThread::RemoveInvalidNodes(), NativeParserBase::RemoveLastFunctionChildren(), Parser::Reparse(), Parser::ReparseModifiedFiles(), NativeParserBase::ResolveActualType(), NativeParserBase::ResolveExpression(), NativeParserBase::ResolveOperator(), ClassBrowserBuilderThread::TokenContainsChildrenOfKind(), ClassBrowserBuilderThread::TokenMatchesFilter(), CodeCompletion::UpdateEditorSyntax(), CodeRefactoring::VerifyResult(), and ParserBase::~ParserBase().