Code::Blocks
SVN r11506
|
#include <parserthread.h>
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... | |
LoaderBase * | loader |
Definition at line 38 of file parserthread.h.
|
inline |
Definition at line 40 of file parserthread.h.
bool ParserThreadOptions::bufferSkipBlocks |
do we parse inside the {...} body
Definition at line 87 of file parserthread.h.
Referenced by ParserThread::DoParse(), Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForUsingNamespace(), and ParserThread::ParseBufferForUsingNamespace().
bool ParserThreadOptions::bufferSkipOuterBlocks |
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().
bool ParserThreadOptions::followGlobalIncludes |
parse the file in #include <file> directive
Definition at line 99 of file parserthread.h.
Referenced by ParserThread::HandleIncludes(), Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), and Parser::ParseBufferForUsingNamespace().
bool ParserThreadOptions::followLocalIncludes |
parse the file in #include "file" directive
Definition at line 96 of file parserthread.h.
Referenced by ParserThread::HandleIncludes(), Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), and Parser::ParseBufferForUsingNamespace().
bool ParserThreadOptions::handleClasses |
whether to parse "class ...." like statement
Definition at line 117 of file parserthread.h.
Referenced by ParserThread::DoParse().
bool ParserThreadOptions::handleEnums |
whether to parse "enum ..." like statement
Definition at line 120 of file parserthread.h.
Referenced by ParserThread::DoParse(), and ParserThread::HandleEnum().
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().
bool ParserThreadOptions::handleTypedefs |
whether to parse "typedef ..." like statement
Definition at line 123 of file parserthread.h.
Referenced by ParserThread::DoParse().
bool ParserThreadOptions::handleVars |
whether to parse the variable definition
Definition at line 114 of file parserthread.h.
Referenced by ParserThread::DoParse(), and ParserThread::HandleClass().
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().
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().
LoaderBase* ParserThreadOptions::loader |
Definition at line 128 of file parserthread.h.
Referenced by ParserThread::InitTokenizer(), Parser::Parse(), and ParserThread::~ParserThread().
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().
bool ParserThreadOptions::parseComplexMacros |
not used
Definition at line 105 of file parserthread.h.
Referenced by Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), and Parser::ParseBufferForUsingNamespace().
bool ParserThreadOptions::platformCheck |
not used
Definition at line 108 of file parserthread.h.
Referenced by Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), and Parser::ParseBufferForUsingNamespace().
bool ParserThreadOptions::storeDocumentation |
should tokenizer detect and store doxygen documentation?
Definition at line 126 of file parserthread.h.
Referenced by Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), and ParserThread::ParserThread().
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().
bool ParserThreadOptions::wantPreprocessor |
handle the #if like preprocessor directives, this value is passed to Tokenizer
Definition at line 102 of file parserthread.h.
Referenced by Parser::Parse(), ParserBase::ParseBuffer(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), and ParserThread::ParserThread().