Annotation of parser3/src/include/pa_symbols.h, revision 1.1
1.1 ! moko 1: /** @file
! 2: Parser: static symbols cache.
! 3:
! 4: Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com)
! 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
! 6: */
! 7:
! 8: #ifndef PA_SYMBOLS_H
! 9: #define PA_SYMBOLS_H
! 10:
! 11: #define IDENT_PA_SYMBOLS_H "$Id: pa_symbols.h,v 1.19 2015/10/26 01:21:56 moko Exp $"
! 12:
! 13: #include "pa_common.h"
! 14:
! 15: class Symbols: public HashStringValue{
! 16: public:
! 17:
! 18: void add(const String &astring);
! 19: const String *add(const char *astring);
! 20:
! 21: static const String *result;
! 22: static const String *caller;
! 23: static const String *self;
! 24:
! 25: static Symbols &instance();
! 26:
! 27: };
! 28:
! 29: #endif
E-mail: