VarBaseCmp Struct Reference

#include <AstContainer.h>


Detailed Description

Definition at line 59 of file AstContainer.h.


Public Member Functions

bool operator() (const VarBase &v1, const VarBase &v2) const

Member Function Documentation

bool VarBaseCmp::operator() ( const VarBase v1,
const VarBase v2 
) const [inline]

Definition at line 60 of file AstContainer.h.

References VarBase::index, and VarBase::name.

00060                                                                 {
00061         if (v1.name != v2.name)
00062             return v1.name <= v2.name;
00063         else
00064             return v1.index > v2.index;
00065         return false;
00066     }


The documentation for this struct was generated from the following file:
Generated on Wed Feb 27 20:32:48 2008 for php.ast.svn.src. by  doxygen 1.5.3