Annotated the NameAST nodes.

This commit is contained in:
Roberto Raggi
2009-02-09 11:55:49 +01:00
parent 95d8b84404
commit 0d314977f1
3 changed files with 13 additions and 0 deletions

View File

@@ -422,6 +422,9 @@ public:
NameAST *name;
BaseSpecifierAST *next;
public: // annotations
BaseClass *base_class_symbol;
public:
virtual unsigned firstToken() const;
virtual unsigned lastToken() const;
@@ -1060,6 +1063,9 @@ protected:
class CPLUSPLUS_EXPORT NameAST: public ExpressionAST
{
public: // annotations
Name *name;
public:
virtual NameAST *clone(MemoryPool *pool) const = 0;
};