62 showInheritance(false),
100 followLocalIncludes(true),
101 followGlobalIncludes(true),
103 wantPreprocessor(true),
106 parseComplexMacros(true),
108 storeDocumentation(true)
137 virtual bool ParseBuffer(
const wxString& buffer,
bool isLocal,
bool bufferSkipBlocks =
false,
139 int parentIdx = -1,
int initLine = 0);
143 cb_unused
bool bufferSkipBlocks =
true) {
return false; }
145 virtual bool Reparse(cb_unused
const wxString& filename, cb_unused
bool isLocal =
true);
146 virtual bool AddFile(cb_unused
const wxString& filename, cb_unused
cbProject* project, cb_unused
bool isLocal =
true) {
return false; }
150 virtual bool Done() {
return true; }
159 void AddIncludeDir(
const wxString& dir);
177 size_t FindTokensInFile(
const wxString& filename,
TokenIdxSet& result,
short int kindMask);
180 virtual bool ParseFile(
const wxString& filename,
bool isGlobal,
bool locked =
false);
virtual BrowserOptions & ClassBrowserOptions()
BrowserSortType
specify the sort order of the symbol tree nodes
A parser threaded task, which can be assigned to the thread task pool, and run there.
bool caseSensitive
parse XXX.h in directive #include <XXX.h>
bool whileTyping
use real AI(scope sequence match) or not(plain text match)
Setting of the Parser, some of them will be passed down to ParserThreadOptions.
virtual void WriteOptions()
write Parse options to configure file
bool useSmartSense
handle preprocessor directive in Tokenizer class
ParserOptions m_Options
options for how the parser try to parse files
virtual bool AddFile(cb_unused const wxString &filename, cb_unused cbProject *project, cb_unused bool isLocal=true)
bool storeDocumentation
this will check for the platform of the project/target when adding include folders to the parser ...
virtual bool ParseBufferForFunctions(cb_unused const wxString &buffer)
a container class to hold all the Tokens getting from parsing stage
bool showInheritance
whether the base class or derive class information is shown as a child node default: false ...
BrowserOptions m_BrowserOptions
options for how the symbol browser was shown
std::list< wxString > StringList
virtual bool RemoveFile(cb_unused const wxString &filename)
virtual ParserOptions & Options()
TokenTree * GetTempTokenTree()
EFileType FileType(const wxString &filename, bool force_refresh=false)
return a file type, which can be either header files or implementation files or other files ...
bool expandNS
whether a namespaces node is auto-expand auto-expand means the child of the namespace is automaticall...
const wxArrayString & GetIncludeDirs() const
std::vector< NameSpace > NameSpaceVec
Represents a Code::Blocks project.
display symbols of current project
TokenTree * m_TempTokenTree
a temp Token tree hold some temporary tokens, e.g.
std::set< int, std::less< int > > TokenIdxSet
display symbols of current file
virtual void AddPredefinedMacros(cb_unused const wxString &defs)
virtual void AddBatchParse(cb_unused const StringList &filenames)
EFileType
the enum type of the file type
Options for the symbol browser, this specify how the symbol browser will shown.
virtual bool IsFileParsed(cb_unused const wxString &filename)
TokenTree * m_TokenTree
each Parser class contains a TokenTree object which used to record tokens per project this tree will ...
virtual wxString NotDoneReason()
bool wantPreprocessor
case sensitive in MarkItemsByAI
bool followGlobalIncludes
parse XXX.h in directive #include "XXX.h"
wxArrayString m_IncludeDirs
the include directories can be either three kinds below: 1, compiler's default search paths...
virtual bool ParseBufferForNamespaces(cb_unused const wxString &buffer, cb_unused NameSpaceVec &result)
BrowserDisplayFilter displayFilter
token filter option
BrowserDisplayFilter
specify the scope of the shown symbols
bool treeMembers
show members in the bottom tree.
virtual bool ParseBufferForUsingNamespace(cb_unused const wxString &buffer, cb_unused wxArrayString &result, cb_unused bool bufferSkipBlocks=true)
bool parseComplexMacros
reparse the active editor while editing
BrowserSortType sortType
token sort option in the tree default: bstKind
virtual const wxString GetPredefinedMacros() const
public, protected, private
display symbols of current workspace
virtual void ReadOptions()
read Parser options from configure file
SearchTree< wxString > m_GlobalIncludes
wxString -> wxString map
virtual bool UpdateParsingProject(cb_unused cbProject *project)
virtual void AddParse(cb_unused const wxString &filename)
ParserThreadOptions m_Options
parser options, see the ParserThreadOptions structure
std::set< wxString > StringSet