| 1 |
#ifndef PHPDOCPARAM_H |
| 2 |
#define PHPDOCPARAM_H |
| 3 |
|
| 4 |
#include "PHPSourceFile.h" |
| 5 |
#include "codelite_exports.h" |
| 6 |
#include "wxStringHash.h" |
| 7 |
#include <vector> |
| 8 |
#include <wx/string.h> |
| 9 |
|
| 10 |
class WXDLLIMPEXP_CL PHPDocParam |
| 11 |
{ |
| 12 |
public: |
| 13 |
typedef std::vector<std::pair<wxString, wxString> > Vec_t; |
| 14 |
|
| 15 |
protected: |
| 16 |
PHPSourceFile& m_sourceFile; |
| 17 |
const wxString& m_comment; |
| 18 |
PHPDocParam::Vec_t m_params; |
| 19 |
|
| 20 |
public: |
| 21 |
PHPDocParam(PHPSourceFile& sourceFile, const wxString& comment); |
| 22 |
~PHPDocParam(); |
| 23 |
|
| 24 |
/** |
| 25 |
* @brief parse comment and map of params found in it |
| 26 |
*/ |
| 27 |
const PHPDocParam::Vec_t& Parse(); |
| 28 |
}; |
| 29 |
|
| 30 |
#endif // PHPDOCPARAM_H |