Introduced Name::identifier().

Name::identifier() returns the identifier used to declare the name.
This commit is contained in:
Roberto Raggi
2009-05-28 11:49:59 +02:00
parent 6ec0b2591e
commit a1ec4e2a94
7 changed files with 53 additions and 30 deletions

View File

@@ -63,6 +63,8 @@ public:
Name();
virtual ~Name();
virtual Identifier *identifier() const = 0;
bool isNameId() const;
bool isTemplateNameId() const;
bool isDestructorNameId() const;