File: PHPDocParam.h

package info (click to toggle)
codelite 14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 112,816 kB
  • sloc: cpp: 483,662; ansic: 150,144; php: 9,569; lex: 4,186; python: 3,417; yacc: 2,820; sh: 1,147; makefile: 52; xml: 13
file content (30 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef PHPDOCPARAM_H
#define PHPDOCPARAM_H

#include "PHPSourceFile.h"
#include "codelite_exports.h"
#include "wxStringHash.h"
#include <vector>
#include <wx/string.h>

class WXDLLIMPEXP_CL PHPDocParam
{
public:
    typedef std::vector<std::pair<wxString, wxString> > Vec_t;

protected:
    PHPSourceFile& m_sourceFile;
    const wxString& m_comment;
    PHPDocParam::Vec_t m_params;

public:
    PHPDocParam(PHPSourceFile& sourceFile, const wxString& comment);
    ~PHPDocParam();

    /**
     * @brief parse comment and map of params found in it
     */
    const PHPDocParam::Vec_t& Parse();
};

#endif // PHPDOCPARAM_H