Introduced IdExpressionAST.

This commit is contained in:
Roberto Raggi
2010-08-02 12:04:59 +02:00
parent 6226cfe1fc
commit 6324bf4460
15 changed files with 164 additions and 60 deletions

View File

@@ -4211,3 +4211,21 @@ unsigned AttributeSpecifierAST::lastToken() const
return 0;
}
/** \generated */
unsigned IdExpressionAST::firstToken() const
{
if (name)
if (unsigned candidate = name->firstToken())
return candidate;
return 0;
}
/** \generated */
unsigned IdExpressionAST::lastToken() const
{
if (name)
if (unsigned candidate = name->lastToken())
return candidate;
return 0;
}