-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathcsharpparser.h
More file actions
44 lines (36 loc) · 1.09 KB
/
csharpparser.h
File metadata and controls
44 lines (36 loc) · 1.09 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef CC_PARSER_CSHARPPARSER_H
#define CC_PARSER_CSHARPPARSER_H
#include <parser/abstractparser.h>
#include <parser/parsercontext.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/regex.hpp>
#include <boost/filesystem.hpp>
#include <boost/process.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
namespace cc
{
namespace parser
{
namespace fs = boost::filesystem;
namespace bp = boost::process;
namespace pt = boost::property_tree;
class CsharpParser : public AbstractParser
{
public:
CsharpParser(ParserContext& ctx_);
virtual ~CsharpParser();
virtual bool parse() override;
private:
int _numCompileCommands;
int _threadNum;
bool acceptProjectBuildPath(const std::string& buildDir_);
bool parseProjectBuildPath(
const std::vector<std::string>& path_ //,
); //const std::string& buildPath_
//void addSource(const std::string& filepath_, bool error_);
void addSource(const std::string& filepath_, const std::string& targetDll_, bool error_);
};
} // parser
} // cc
#endif // CC_PLUGINS_PARSER_DUMMYPARSER_H