data: saving locations of return and parameter types
This change introduces the structure ParseTypeUsage for passing information about type usage from the parser to it's client. It is used for passing data type and location information about return types and parameter types, which now get saved to the corresponding edges in the Storage.
This commit is contained in:
@@ -12,3 +12,8 @@ ParseLocation::ParseLocation(
|
||||
, endColumnNumber(endColumnNumber)
|
||||
{
|
||||
}
|
||||
|
||||
bool ParseLocation::isValid() const
|
||||
{
|
||||
return startLineNumber > 0 && endLineNumber >= startLineNumber;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user