Code::Blocks  SVN r11506
Public Member Functions | Public Attributes | List of all members
ParserThreadOptions Struct Reference

#include <parserthread.h>

Collaboration diagram for ParserThreadOptions:

Public Member Functions

 ParserThreadOptions ()
 

Public Attributes

bool useBuffer
 useBuffer specifies that we're not parsing a file, but a temporary buffer. More...
 
wxString fileOfBuffer
 which file the buffer belongs to, this usually happens when we parse a piece of the cbEditor and the cbEditor is associated by a file in hard disk More...
 
int parentIdxOfBuffer
 when parsing a function body, all the tokens are the children of the function token More...
 
int initLineOfBuffer
 since we are not parsing start from the first line of the file, this is the first line number of the buffer in the whole file More...
 
bool bufferSkipBlocks
 do we parse inside the {...} body More...
 
bool bufferSkipOuterBlocks
 not used More...
 
bool isTemp
 this value is passed to the generated Token's m_IsTemp property More...
 
bool followLocalIncludes
 parse the file in #include "file" directive More...
 
bool followGlobalIncludes
 parse the file in #include <file> directive More...
 
bool wantPreprocessor
 handle the #if like preprocessor directives, this value is passed to Tokenizer More...
 
bool parseComplexMacros
 not used More...
 
bool platformCheck
 not used More...
 
bool handleFunctions
 whether to parse the functions More...
 
bool handleVars
 whether to parse the variable definition More...
 
bool handleClasses
 whether to parse "class ...." like statement More...
 
bool handleEnums
 whether to parse "enum ..." like statement More...
 
bool handleTypedefs
 whether to parse "typedef ..." like statement More...
 
bool storeDocumentation
 should tokenizer detect and store doxygen documentation? More...
 
LoaderBaseloader
 

Detailed Description

Definition at line 38 of file parserthread.h.

Constructor & Destructor Documentation

◆ ParserThreadOptions()

ParserThreadOptions::ParserThreadOptions ( )
inline

Definition at line 40 of file parserthread.h.

Member Data Documentation

◆ bufferSkipBlocks

bool ParserThreadOptions::bufferSkipBlocks

◆ bufferSkipOuterBlocks

bool ParserThreadOptions::bufferSkipOuterBlocks

not used

Definition at line 90 of file parserthread.h.

Referenced by Parser::Parse().

◆ fileOfBuffer

wxString ParserThreadOptions::fileOfBuffer

which file the buffer belongs to, this usually happens when we parse a piece of the cbEditor and the cbEditor is associated by a file in hard disk

Definition at line 76 of file parserthread.h.

Referenced by ParserThread::InitTokenizer(), ParserBase::ParseBuffer(), and Parser::ParseBuffer().

◆ followGlobalIncludes

bool ParserThreadOptions::followGlobalIncludes

◆ followLocalIncludes

bool ParserThreadOptions::followLocalIncludes

◆ handleClasses

bool ParserThreadOptions::handleClasses

whether to parse "class ...." like statement

Definition at line 117 of file parserthread.h.

Referenced by ParserThread::DoParse().

◆ handleEnums

bool ParserThreadOptions::handleEnums

whether to parse "enum ..." like statement

Definition at line 120 of file parserthread.h.

Referenced by ParserThread::DoParse(), and ParserThread::HandleEnum().

◆ handleFunctions

bool ParserThreadOptions::handleFunctions

whether to parse the functions

Definition at line 111 of file parserthread.h.

Referenced by ParserThread::DoParse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), and Parser::ParseBufferForFunctions().

◆ handleTypedefs

bool ParserThreadOptions::handleTypedefs

whether to parse "typedef ..." like statement

Definition at line 123 of file parserthread.h.

Referenced by ParserThread::DoParse().

◆ handleVars

bool ParserThreadOptions::handleVars

whether to parse the variable definition

Definition at line 114 of file parserthread.h.

Referenced by ParserThread::DoParse(), and ParserThread::HandleClass().

◆ initLineOfBuffer

int ParserThreadOptions::initLineOfBuffer

since we are not parsing start from the first line of the file, this is the first line number of the buffer in the whole file

Definition at line 84 of file parserthread.h.

Referenced by ParserThread::InitTokenizer(), ParserBase::ParseBuffer(), and Parser::ParseBuffer().

◆ isTemp

bool ParserThreadOptions::isTemp

this value is passed to the generated Token's m_IsTemp property

Definition at line 93 of file parserthread.h.

Referenced by ParserThread::DoAddToken(), ParserBase::ParseBuffer(), and Parser::ParseBuffer().

◆ loader

LoaderBase* ParserThreadOptions::loader

◆ parentIdxOfBuffer

int ParserThreadOptions::parentIdxOfBuffer

when parsing a function body, all the tokens are the children of the function token

Definition at line 79 of file parserthread.h.

Referenced by ParserThread::DoAddToken(), ParserBase::ParseBuffer(), and Parser::ParseBuffer().

◆ parseComplexMacros

bool ParserThreadOptions::parseComplexMacros

◆ platformCheck

bool ParserThreadOptions::platformCheck

◆ storeDocumentation

bool ParserThreadOptions::storeDocumentation

◆ useBuffer

bool ParserThreadOptions::useBuffer

useBuffer specifies that we're not parsing a file, but a temporary buffer.

The resulting tokens will be temporary, too, and will be deleted before the next file is parsed.

Definition at line 71 of file parserthread.h.

Referenced by ParserThread::DoParse(), ParserThread::HandleFunction(), ParserThread::InitTokenizer(), ParserThread::Parse(), Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), and ParserBase::Reparse().

◆ wantPreprocessor

bool ParserThreadOptions::wantPreprocessor

The documentation for this struct was generated from the following file: