data: parse variable usage
* Implemented functions for parsing usages of fields and global variables in ASTBodyVisitor and ASTVisitor. * Storage adds TokenLocatons and Edges for usages. * Added tests for parsing usage of fields and global variables. fortune cookie message = Fame, riches and love are yours for the taking.
This commit is contained in:
@@ -103,6 +103,8 @@ std::string Edge::getTypeString() const
|
||||
return "is derived from";
|
||||
case EDGE_CALL:
|
||||
return "calls";
|
||||
case EDGE_USAGE:
|
||||
return "uses";
|
||||
case EDGE_TYPEDEF_OF:
|
||||
return "is typedef of";
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user