Code::Blocks  SVN r11506
Namespaces | Macros | Functions | Variables
parserthread.cpp File Reference
#include <sdk.h>
#include <wx/tokenzr.h>
#include "parserthread.h"
#include "parser.h"
#include "expression.h"
Include dependency graph for parserthread.cpp:

Go to the source code of this file.

Namespaces

 ParserConsts
 

Macros

#define CC_PARSERTHREAD_DEBUG_OUTPUT   0
 
#define ADDTOKEN(format, args...)
 
#define TRACE(format, args...)
 
#define TRACE2(format, args...)
 
#define CC_PARSERTHREAD_TESTDESTROY   0
 
#define IS_ALIVE   !TestDestroy()
 

Functions

const wxChar ParserConsts::null (_T('\0'))
 
const wxChar ParserConsts::eol_chr (_T('\n'))
 
const wxChar ParserConsts::space_chr (_T(' '))
 
const wxChar ParserConsts::tab_chr (_T('\t'))
 
const wxChar ParserConsts::equals_chr (_T('='))
 
const wxChar ParserConsts::hash_chr (_T('#'))
 
const wxChar ParserConsts::plus_chr (_T('+'))
 
const wxChar ParserConsts::dash_chr (_T('-'))
 
const wxChar ParserConsts::ptr_chr (_T(' *'))
 
const wxChar ParserConsts::ref_chr (_T('&'))
 
const wxChar ParserConsts::comma_chr (_T(','))
 
const wxChar ParserConsts::dot_chr (_T('.'))
 
const wxChar ParserConsts::colon_chr (_T(':'))
 
const wxChar ParserConsts::semicolon_chr (_T(';'))
 
const wxChar ParserConsts::opbracket_chr (_T('('))
 
const wxChar ParserConsts::clbracket_chr (_T(')'))
 
const wxString ParserConsts::opbracket (_T("("))
 
const wxChar ParserConsts::opbrace_chr (_T('{'))
 
const wxChar ParserConsts::clbrace_chr (_T('}'))
 
const wxChar ParserConsts::oparray_chr (_T('['))
 
const wxChar ParserConsts::clarray_chr (_T(']'))
 
const wxChar ParserConsts::lt_chr (_T('<'))
 
const wxChar ParserConsts::gt_chr (_T('>'))
 
const wxChar ParserConsts::underscore_chr (_T('_'))
 
const wxChar ParserConsts::question_chr (_T('?'))
 

Variables

const wxString g_UnnamedSymbol = _T("__Unnamed")
 
const wxString ParserConsts::empty (_T(""))
 
const wxString ParserConsts::space (_T(" "))
 
const wxString ParserConsts::equals (_T("="))
 
const wxString ParserConsts::hash (_T("#"))
 
const wxString ParserConsts::plus (_T("+"))
 
const wxString ParserConsts::dash (_T("-"))
 
const wxString ParserConsts::ptr (_T("*"))
 
const wxString ParserConsts::ref (_T("&"))
 
const wxString ParserConsts::comma (_T(","))
 
const wxString ParserConsts::dot (_T("."))
 
const wxString ParserConsts::colon (_T(":"))
 
const wxString ParserConsts::semicolon (_T(";"))
 
const wxString ParserConsts::clbracket (_T(")"))
 
const wxString ParserConsts::opbrace (_T("{"))
 
const wxString ParserConsts::clbrace (_T("}"))
 
const wxString ParserConsts::oparray (_T("["))
 
const wxString ParserConsts::clarray (_T("]"))
 
const wxString ParserConsts::tilde (_T("~"))
 
const wxString ParserConsts::lt (_T("<"))
 
const wxString ParserConsts::gt (_T(">"))
 
const wxString ParserConsts::dcolon (_T("::"))
 
const wxString ParserConsts::opbracesemicolon (_T("{;"))
 
const wxString ParserConsts::commaclbrace (_T(",}"))
 
const wxString ParserConsts::semicolonopbrace (_T(";{"))
 
const wxString ParserConsts::semicolonclbrace (_T(";}"))
 
const wxString ParserConsts::gtsemicolon (_T(">;"))
 
const wxString ParserConsts::quot (_T("\))
 
const wxString ParserConsts::kw_do (_T("do"))
 
const wxString ParserConsts::kw_if (_T("if"))
 
const wxString ParserConsts::spaced_colon (_T(" : "))
 
const wxString ParserConsts::kw__C_ (_T("\\))
 
const wxString ParserConsts::kw_for (_T("for"))
 
const wxString ParserConsts::kw_try (_T("try"))
 
const wxString ParserConsts::commasemicolonopbrace (_T(",;{"))
 
const wxString ParserConsts::kw___at (_T("__at"))
 
const wxString ParserConsts::kw_else (_T("else"))
 
const wxString ParserConsts::kw_enum (_T("enum"))
 
const wxString ParserConsts::kw_elif (_T("elif"))
 
const wxString ParserConsts::kw_case (_T("case"))
 
const wxString ParserConsts::kw__CPP_ (_T("\++\))
 
const wxString ParserConsts::kw___asm (_T("__asm"))
 
const wxString ParserConsts::kw_catch (_T("catch"))
 
const wxString ParserConsts::kw_class (_T("class"))
 
const wxString ParserConsts::kw_const (_T("const"))
 
const wxString ParserConsts::kw_union (_T("union"))
 
const wxString ParserConsts::kw_using (_T("using"))
 
const wxString ParserConsts::kw_throw (_T("throw"))
 
const wxString ParserConsts::kw_while (_T("while"))
 
const wxString ParserConsts::kw_delete (_T("delete"))
 
const wxString ParserConsts::kw_extern (_T("extern"))
 
const wxString ParserConsts::kw_friend (_T("friend"))
 
const wxString ParserConsts::kw_inline (_T("inline"))
 
const wxString ParserConsts::kw_public (_T("public"))
 
const wxString ParserConsts::kw_return (_T("return"))
 
const wxString ParserConsts::kw_static (_T("static"))
 
const wxString ParserConsts::kw_struct (_T("struct"))
 
const wxString ParserConsts::kw_switch (_T("switch"))
 
const wxString ParserConsts::kw_include (_T("include"))
 
const wxString ParserConsts::kw_private (_T("private"))
 
const wxString ParserConsts::kw_typedef (_T("typedef"))
 
const wxString ParserConsts::kw_virtual (_T("virtual"))
 
const wxString ParserConsts::kw_noexcept (_T("noexcept"))
 
const wxString ParserConsts::kw_operator (_T("operator"))
 
const wxString ParserConsts::kw_template (_T("template"))
 
const wxString ParserConsts::kw_typename (_T("typename"))
 
const wxString ParserConsts::kw_volatile (_T("volatile"))
 
const wxString ParserConsts::kw_namespace (_T("namespace"))
 
const wxString ParserConsts::kw_protected (_T("protected"))
 
const wxString ParserConsts::kw_declspec (_T("__declspec"))
 
const wxString ParserConsts::kw_attribute (_T("__attribute__"))
 

Macro Definition Documentation

◆ ADDTOKEN

#define ADDTOKEN (   format,
  args... 
)

Definition at line 70 of file parserthread.cpp.

Referenced by ParserThread::DoAddToken().

◆ CC_PARSERTHREAD_DEBUG_OUTPUT

#define CC_PARSERTHREAD_DEBUG_OUTPUT   0

Definition at line 31 of file parserthread.cpp.

◆ CC_PARSERTHREAD_TESTDESTROY

#define CC_PARSERTHREAD_TESTDESTROY   0

Definition at line 76 of file parserthread.cpp.

◆ IS_ALIVE

#define IS_ALIVE   !TestDestroy()

◆ TRACE

#define TRACE (   format,
  args... 
)

◆ TRACE2

#define TRACE2 (   format,
  args... 
)

Definition at line 72 of file parserthread.cpp.

Variable Documentation

◆ g_UnnamedSymbol

const wxString g_UnnamedSymbol = _T("__Unnamed")

Definition at line 84 of file parserthread.cpp.

Referenced by ParserThread::HandleEnum().