Code::Blocks  SVN r11506
Classes | Namespaces | Macros | Enumerations
parser.h File Reference
#include <wx/arrstr.h>
#include <wx/event.h>
#include <wx/file.h>
#include <wx/filefn.h>
#include <wx/imaglist.h>
#include <wx/string.h>
#include <wx/thread.h>
#include <wx/timer.h>
#include <wx/treectrl.h>
#include <cbthreadpool.h>
#include <sdk_events.h>
#include "parserthread.h"
#include "parser_base.h"
Include dependency graph for parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ClassTreeData
 Tree data associate with the symbol tree item. More...
 
class  Parser
 Parser class holds all the tokens of a C::B project. More...
 

Namespaces

 ParserCommon
 

Macros

#define PARSER_IMG_NONE   -2
 
#define PARSER_IMG_CLASS_FOLDER   0
 
#define PARSER_IMG_CLASS   1
 
#define PARSER_IMG_CLASS_PRIVATE   2
 
#define PARSER_IMG_CLASS_PROTECTED   3
 
#define PARSER_IMG_CLASS_PUBLIC   4
 
#define PARSER_IMG_CTOR_PRIVATE   5
 
#define PARSER_IMG_CTOR_PROTECTED   6
 
#define PARSER_IMG_CTOR_PUBLIC   7
 
#define PARSER_IMG_DTOR_PRIVATE   8
 
#define PARSER_IMG_DTOR_PROTECTED   9
 
#define PARSER_IMG_DTOR_PUBLIC   10
 
#define PARSER_IMG_FUNC_PRIVATE   11
 
#define PARSER_IMG_FUNC_PROTECTED   12
 
#define PARSER_IMG_FUNC_PUBLIC   13
 
#define PARSER_IMG_VAR_PRIVATE   14
 
#define PARSER_IMG_VAR_PROTECTED   15
 
#define PARSER_IMG_VAR_PUBLIC   16
 
#define PARSER_IMG_MACRO_DEF   17
 
#define PARSER_IMG_ENUM   18
 
#define PARSER_IMG_ENUM_PRIVATE   19
 
#define PARSER_IMG_ENUM_PROTECTED   20
 
#define PARSER_IMG_ENUM_PUBLIC   21
 
#define PARSER_IMG_ENUMERATOR   22
 
#define PARSER_IMG_NAMESPACE   23
 
#define PARSER_IMG_TYPEDEF   24
 
#define PARSER_IMG_TYPEDEF_PRIVATE   25
 
#define PARSER_IMG_TYPEDEF_PROTECTED   26
 
#define PARSER_IMG_TYPEDEF_PUBLIC   27
 
#define PARSER_IMG_SYMBOLS_FOLDER   28
 
#define PARSER_IMG_VARS_FOLDER   29
 
#define PARSER_IMG_FUNCS_FOLDER   30
 
#define PARSER_IMG_ENUMS_FOLDER   31
 
#define PARSER_IMG_MACRO_DEF_FOLDER   32
 
#define PARSER_IMG_OTHERS_FOLDER   33
 
#define PARSER_IMG_TYPEDEF_FOLDER   34
 
#define PARSER_IMG_MACRO_USE   35
 
#define PARSER_IMG_MACRO_USE_PRIVATE   36
 
#define PARSER_IMG_MACRO_USE_PROTECTED   37
 
#define PARSER_IMG_MACRO_USE_PUBLIC   38
 
#define PARSER_IMG_MACRO_USE_FOLDER   39
 
#define PARSER_IMG_MIN   PARSER_IMG_CLASS_FOLDER
 
#define PARSER_IMG_MAX   PARSER_IMG_MACRO_USE_FOLDER
 

Enumerations

enum  ParserCommon::ParserState { ParserCommon::ptCreateParser = 1, ParserCommon::ptReparseFile = 2, ParserCommon::ptAddFileToParser = 3, ParserCommon::ptUndefined = 4 }
 

Macro Definition Documentation

◆ PARSER_IMG_CLASS

#define PARSER_IMG_CLASS   1

Definition at line 27 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CLASS_FOLDER

#define PARSER_IMG_CLASS_FOLDER   0

◆ PARSER_IMG_CLASS_PRIVATE

#define PARSER_IMG_CLASS_PRIVATE   2

Definition at line 28 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CLASS_PROTECTED

#define PARSER_IMG_CLASS_PROTECTED   3

Definition at line 29 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CLASS_PUBLIC

#define PARSER_IMG_CLASS_PUBLIC   4

Definition at line 30 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CTOR_PRIVATE

#define PARSER_IMG_CTOR_PRIVATE   5

Definition at line 31 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CTOR_PROTECTED

#define PARSER_IMG_CTOR_PROTECTED   6

Definition at line 32 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_CTOR_PUBLIC

#define PARSER_IMG_CTOR_PUBLIC   7

Definition at line 33 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_DTOR_PRIVATE

#define PARSER_IMG_DTOR_PRIVATE   8

Definition at line 34 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_DTOR_PROTECTED

#define PARSER_IMG_DTOR_PROTECTED   9

Definition at line 35 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_DTOR_PUBLIC

#define PARSER_IMG_DTOR_PUBLIC   10

Definition at line 36 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUM

#define PARSER_IMG_ENUM   18

Definition at line 44 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUM_PRIVATE

#define PARSER_IMG_ENUM_PRIVATE   19

Definition at line 45 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUM_PROTECTED

#define PARSER_IMG_ENUM_PROTECTED   20

Definition at line 46 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUM_PUBLIC

#define PARSER_IMG_ENUM_PUBLIC   21

Definition at line 47 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUMERATOR

#define PARSER_IMG_ENUMERATOR   22

Definition at line 48 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_ENUMS_FOLDER

#define PARSER_IMG_ENUMS_FOLDER   31

Definition at line 57 of file parser.h.

◆ PARSER_IMG_FUNC_PRIVATE

#define PARSER_IMG_FUNC_PRIVATE   11

Definition at line 37 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_FUNC_PROTECTED

#define PARSER_IMG_FUNC_PROTECTED   12

Definition at line 38 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_FUNC_PUBLIC

#define PARSER_IMG_FUNC_PUBLIC   13

Definition at line 39 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_FUNCS_FOLDER

#define PARSER_IMG_FUNCS_FOLDER   30

◆ PARSER_IMG_MACRO_DEF

#define PARSER_IMG_MACRO_DEF   17

◆ PARSER_IMG_MACRO_DEF_FOLDER

#define PARSER_IMG_MACRO_DEF_FOLDER   32

Definition at line 58 of file parser.h.

Referenced by ClassBrowserBuilderThread::CreateSpecialFolders().

◆ PARSER_IMG_MACRO_USE

#define PARSER_IMG_MACRO_USE   35

Definition at line 61 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_MACRO_USE_FOLDER

#define PARSER_IMG_MACRO_USE_FOLDER   39

◆ PARSER_IMG_MACRO_USE_PRIVATE

#define PARSER_IMG_MACRO_USE_PRIVATE   36

Definition at line 62 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_MACRO_USE_PROTECTED

#define PARSER_IMG_MACRO_USE_PROTECTED   37

Definition at line 63 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_MACRO_USE_PUBLIC

#define PARSER_IMG_MACRO_USE_PUBLIC   38

Definition at line 64 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_MAX

#define PARSER_IMG_MAX   PARSER_IMG_MACRO_USE_FOLDER

Definition at line 68 of file parser.h.

Referenced by NativeParser::SetTokenKindImage().

◆ PARSER_IMG_MIN

#define PARSER_IMG_MIN   PARSER_IMG_CLASS_FOLDER

Definition at line 67 of file parser.h.

◆ PARSER_IMG_NAMESPACE

#define PARSER_IMG_NAMESPACE   23

Definition at line 49 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_NONE

#define PARSER_IMG_NONE   -2

Definition at line 25 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_OTHERS_FOLDER

#define PARSER_IMG_OTHERS_FOLDER   33

Definition at line 59 of file parser.h.

Referenced by ClassBrowserBuilderThread::AddMembersOf().

◆ PARSER_IMG_SYMBOLS_FOLDER

#define PARSER_IMG_SYMBOLS_FOLDER   28

Definition at line 54 of file parser.h.

Referenced by ClassBrowserBuilderThread::BuildTree().

◆ PARSER_IMG_TYPEDEF

#define PARSER_IMG_TYPEDEF   24

Definition at line 50 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_TYPEDEF_FOLDER

#define PARSER_IMG_TYPEDEF_FOLDER   34

Definition at line 60 of file parser.h.

Referenced by ClassBrowserBuilderThread::CreateSpecialFolders().

◆ PARSER_IMG_TYPEDEF_PRIVATE

#define PARSER_IMG_TYPEDEF_PRIVATE   25

Definition at line 51 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_TYPEDEF_PROTECTED

#define PARSER_IMG_TYPEDEF_PROTECTED   26

Definition at line 52 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_TYPEDEF_PUBLIC

#define PARSER_IMG_TYPEDEF_PUBLIC   27

Definition at line 53 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_VAR_PRIVATE

#define PARSER_IMG_VAR_PRIVATE   14

Definition at line 40 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_VAR_PROTECTED

#define PARSER_IMG_VAR_PROTECTED   15

Definition at line 41 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_VAR_PUBLIC

#define PARSER_IMG_VAR_PUBLIC   16

Definition at line 42 of file parser.h.

Referenced by NativeParser::GetTokenKindImage().

◆ PARSER_IMG_VARS_FOLDER

#define PARSER_IMG_VARS_FOLDER   29