Ejemplo n.º 1
0
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()));
}
Ejemplo n.º 2
0
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());
}