data: parsing and saving inheritance

This change parses inheritance in CxxParser and saves them as EDGE_INHERITANCE in the Storage's graph. Tests for correct
inheritance recognition were added to CxxParserTestSuite.

fortune cookie message = If you continually give, you will continually have.
This commit is contained in:
Eberhard Graether
2014-07-07 13:12:01 +02:00
parent c02767362f
commit addd86288f
9 changed files with 138 additions and 17 deletions
+2
View File
@@ -93,6 +93,8 @@ std::string Edge::getTypeString() const
return "has return type";
case EDGE_PARAMETER_OF:
return "has parameter of type";
case EDGE_INHERITANCE:
return "is derived from";
default:
LOG_ERROR("TypeString not implemented for edge type.");
}