data: lambda handling
* implemented handling lambdas as functions * functions can have child nodes now * NameElements in NameHierarchy can have signatures now. * fixed crash that occurred when message listener was used while being half way through its destruction process.
This commit is contained in:
@@ -111,14 +111,10 @@ std::string ParserClient::parameterStr(const std::vector<ParseTypeUsage> paramet
|
||||
|
||||
std::string ParserClient::functionStr(const ParseFunction& function)
|
||||
{
|
||||
//return function.getFullName();
|
||||
std::string str =
|
||||
function.returnType.dataType->getFullTypeName() + " " + function.getFullName() + parameterStr(function.parameters);
|
||||
return addConstPrefix(addStaticPrefix(str, function.isStatic), function.isConst, false);
|
||||
}
|
||||
|
||||
std::string ParserClient::functionSignatureStr(const ParseFunction& function)
|
||||
{
|
||||
return addConstPrefix(function.getFullName() + parameterStr(function.parameters), function.isConst, false);
|
||||
function.returnType.dataType->getFullTypeName() + " " + function.getFullName();
|
||||
return addStaticPrefix(str, function.isStatic);
|
||||
}
|
||||
|
||||
ParserClient::ParserClient()
|
||||
|
||||
Reference in New Issue
Block a user