data: Extended CxxParser to detect elements

Detects most elements in the code, currently classes, structs, global variables, fields, functions, methods, namespaces
and enums. The structs ParseLocation and ParseVariable are helper objects to transmit information to the ParserClient.
Currently the parsed information only gets logged in the Storage.

review id = 15

fortune cookie message = In dreams and in life, nothing is impossible.
This commit is contained in:
Eberhard Graether
2014-05-19 12:51:00 +02:00
parent bb6640369a
commit 38c8aaebe8
15 changed files with 738 additions and 68 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef PARSE_VARIABLE_H
#define PARSE_VARIABLE_H
#include <string>
struct ParseVariable
{
ParseVariable(const std::string& typeName, const std::string& fullName, bool isConst, bool isStatic);
const std::string typeName;
const std::string fullName;
const bool isConst;
const bool isStatic;
};
#endif // PARSE_VARIABLE_H