data: storing type modifiers in edges

- ASTVisitor uses DataType instead of string to pass on type information.
- Edges can have EdgeComponents.
- EdgeComponentDataType stores information that modifies the type a ...TYPE_OF edge points to.
- EdgeComponentDataType can create a complete DataType using it's internal information.
- Fixed a bug where DataTypeModifiers did not apply their qualifiers.
This commit is contained in:
malte_langkabel
2014-07-10 11:54:29 +02:00
parent 2eaecc4913
commit f1f2ea0ccd
25 changed files with 311 additions and 111 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
#include "data/parser/ParseVariable.h"
ParseVariable::ParseVariable(const std::string& typeName, const std::string& fullName, bool isConst, bool isStatic)
: typeName(typeName)
ParseVariable::ParseVariable(const DataType& type, const std::string& fullName, bool isStatic)
: type(type)
, fullName(fullName)
, isConst(isConst)
, isStatic(isStatic)
{
}