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

@@ -125,6 +125,9 @@ public:
/// Sets this Symbol's name.
void setName(Name *name); // ### dangerous
/// Returns this Symbol's (optional) identifier
Identifier *identifier() const;
/// Returns this Symbol's storage class specifier.
int storage() const;