GME
13
|
Go to the source code of this file.
Namespaces | |
namespace | OclTree |
Defines | |
#define | NILNAMESPACE "" |
#define | EXCEPTION0(iCode, pos) OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, pos.iLine, pos.iColumn ) |
#define | EXCEPTION1(iCode, param1, pos) OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, param1, pos.iLine, pos.iColumn ) |
#define | EXCEPTION2(iCode, param1, param2, pos) OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, param1, param2, pos.iLine, pos.iColumn ) |
#define | ADDEX(ex) |
#define | ADDEXP(ex) context.m_poolExceptions.Add( ex ) |
#define | POOLADDEX(ex_pool, ex) |
#define | SETEXPOS(ex, pos) ex.SetLine( pos.iLine ); ex.SetColumn( pos.iColumn ); |
#define | EVALTRY try |
#define | EVALCATCH(iLinee, strSigg) |
#define | MAX_CONSTR_FUNC_LEVEL 100 |
#define ADDEX | ( | ex | ) |
{ \ OclCommon::Exception exp( ex ); \ context.m_poolExceptions.Add( exp ); \ }
Definition at line 29 of file OCLTree.cpp.
#define ADDEXP | ( | ex | ) | context.m_poolExceptions.Add( ex ) |
Definition at line 35 of file OCLTree.cpp.
#define EVALCATCH | ( | iLinee, | |
strSigg | |||
) |
catch ( OclCommon::Exception ex ) { \ AddViolation( context, iLinee, strSigg, ex.GGetMessage() ); \ } \ catch ( char* ex ) { \ AddViolation( context, iLinee, strSigg, std::string( ex ) + " " ); \ } \ catch ( ... ) { \ AddViolation( context, iLinee, strSigg, "UNEX" ); \ }
Definition at line 50 of file OCLTree.cpp.
#define EVALTRY try |
Definition at line 47 of file OCLTree.cpp.
#define EXCEPTION0 | ( | iCode, | |
pos | |||
) | OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, pos.iLine, pos.iColumn ) |
Definition at line 20 of file OCLTree.cpp.
#define EXCEPTION1 | ( | iCode, | |
param1, | |||
pos | |||
) | OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, param1, pos.iLine, pos.iColumn ) |
Definition at line 23 of file OCLTree.cpp.
#define EXCEPTION2 | ( | iCode, | |
param1, | |||
param2, | |||
pos | |||
) | OclCommon::Exception( OclCommon::Exception::ET_SEMANTIC, iCode, param1, param2, pos.iLine, pos.iColumn ) |
Definition at line 26 of file OCLTree.cpp.
#define MAX_CONSTR_FUNC_LEVEL 100 |
Definition at line 1653 of file OCLTree.cpp.
#define NILNAMESPACE "" |
Definition at line 17 of file OCLTree.cpp.
#define POOLADDEX | ( | ex_pool, | |
ex | |||
) |
{ \ OclCommon::Exception exp( ex ); \ ex_pool.Add( exp ); \ }
Definition at line 38 of file OCLTree.cpp.
#define SETEXPOS | ( | ex, | |
pos | |||
) | ex.SetLine( pos.iLine ); ex.SetColumn( pos.iColumn ); |
Definition at line 44 of file OCLTree.cpp.