data: Saving TokenLocations of scopes separately
This change parses the TokenLocations of scopes of classes, structs, functions, methods, namespaces and enums and saves them in Storage with type LOCATION_SCOPE. The TokenLocations of these nodes are just their name declarations now. Scope locations are displayed in blue color in the code view.
This commit is contained in:
@@ -75,6 +75,7 @@ private:
|
||||
int start;
|
||||
int end;
|
||||
Id tokenId;
|
||||
bool isScope;
|
||||
};
|
||||
|
||||
void createAnnotations(const TokenLocationFile& locationFile);
|
||||
|
||||
Reference in New Issue
Block a user