Annotation of parser3/src/types/pa_property.h, revision 1.3
1.1 paf 1: /** @file
2: Parser: Property class decl.
3:
1.3 ! misha 4: Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com)
1.1 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
6: */
7:
8: #ifndef PA_PROPERTY_H
9: #define PA_PROPERTY_H
10:
1.3 ! misha 11: static const char * const IDENT_PROPERTY_H="$Date: 2005/08/09 08:14:53 $";
1.1 paf 12:
13: class Method;
1.3 ! misha 14: class Value;
1.1 paf 15:
16: /** \b junction is getter and setter methods.
17:
18: it is used to cache our knowledge that some element is in fact property
19: and to save us one hash lookup and one name construction (element--get_element/set_leement)
20: */
21: class Property: public PA_Object {
22: public:
23: Method* getter;
24: Method* setter;
1.3 ! misha 25: Value *value;
! 26:
! 27: Property() : getter(0), setter(0), value(0){}
1.1 paf 28: };
29:
30: #endif
E-mail: