File:  [parser3project] / parser3 / src / include / pa_symbols.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue May 24 11:55:13 2016 UTC (10 years, 1 month ago) by moko
Branches: MAIN
CVS tags: HEAD
initial implementation for symbols cache (related to feature #1026)

/** @file
	Parser: static symbols cache.

	Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
*/

#ifndef PA_SYMBOLS_H
#define PA_SYMBOLS_H

#define IDENT_PA_SYMBOLS_H "$Id: pa_symbols.h,v 1.1 2016/05/24 11:55:13 moko Exp $"

#include "pa_common.h"

class Symbols: public HashStringValue{
public:

void add(const String &astring);
const String *add(const char *astring);

static const String *result;
static const String *caller;
static const String *self;

static Symbols &instance();

};

#endif

E-mail: