|
|
| version 1.2, 2016/05/24 14:28:24 | version 1.5, 2016/05/24 17:48:37 |
|---|---|
| Line 16 | Line 16 |
| #define SYMBOLS_CACHING | #define SYMBOLS_CACHING |
| #ifdef SYMBOLS_CACHING | #ifdef SYMBOLS_CACHING |
| #define SYMBOLS_EQ(a,b) (&(a)==&(b)) // pointer comparation | #define SYMBOLS_EQ(a,b) (&(a)==&(Symbols::b)) // pointer comparation |
| #else | #else |
| #define SYMBOLS_EQ(a,b) ((a)==(b)) // string comparation | #define SYMBOLS_EQ(a,b) ((a)==(Symbols::b)) // string comparation |
| #endif | #endif |
| class Symbols: public HashStringValue{ | class Symbols: public HashStringValue{ |
| public: | public: |
| static const String result; | static const String SELF_SYMBOL; |
| static const String caller; | static const String CALLER_SYMBOL; |
| static const String self; | static const String RESULT_SYMBOL; |
| static const String CLASS_SYMBOL; | |
| static const String CLASS_NAME_SYMBOL; | |
| static const String STATIC_SYMBOL; | |
| static const String DYNAMIC_SYMBOL; | |
| static const String LOCALS_SYMBOL; | |
| static const String PARTIAL_SYMBOL; | |
| static const String REM_SYMBOL; | |
| static const String FIELDS_SYMBOL; | |
| static const String _DEFAULT_SYMBOL; | |
| #ifdef SYMBOLS_CACHING | #ifdef SYMBOLS_CACHING |
| void add(const String &astring); | void add(const String &astring); |