~ubuntu-branches/ubuntu/utopic/kdevelop-php/utopic

« back to all changes in this revision

Viewing changes to parser/generated/phpdefaultvisitor.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-01-17 17:10:22 UTC
  • Revision ID: james.westby@ubuntu.com-20100117171022-nx770ylotvqxwlmc
Tags: 1.0.0~beta2-1
Initial release (Closes: #565680)

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
 
246
246
void DefaultVisitor::visitClassStatement(ClassStatementAst *node)
247
247
{
248
 
    visitNode(node->consts);
 
248
    if (node->constsSequence)
 
249
    {
 
250
        const KDevPG::ListNode<ClassConstantDeclarationAst*> *__it = node->constsSequence->front(), *__end = __it;
 
251
        do
 
252
        {
 
253
            visitNode(__it->element);
 
254
            __it = __it->next;
 
255
        }
 
256
        while (__it != __end);
 
257
    }
249
258
    visitNode(node->variable);
250
259
    visitNode(node->modifiers);
251
260
    visitNode(node->methodName);