void setFullNameProp(IPropertyTree * tree, const char * prop, IHqlExpression * expr) { IHqlScope * scope = expr->queryScope(); if (scope && !containsCall(expr, false)) tree->setProp(prop, scope->queryFullName()); else setFullNameProp(tree, prop, str(lower(expr->queryFullContainerId())), str(expr->queryName())); }
void setFullNameProp(IPropertyTree * tree, const char * prop, IHqlExpression * expr) { IHqlScope * scope = expr->queryScope(); if (scope) tree->setProp(prop, scope->queryFullName()); else setFullNameProp(tree, prop, expr->queryFullContainerId()->lower()->str(), expr->queryName()->str()); }