cp.append(getDefUnitContainerSuffix(defUnit));
return cp.toString();
}
case DEFINITION_ALIAS_FRAGMENT: {
DefinitionAliasFragment elem = (DefinitionAliasFragment) defUnit;
return elem.getName() + getAliasSegment(elem.target) + getDefUnitContainerSuffix(defUnit);
}
case DEFINITION_ALIAS_VAR_DECL: {
DefinitionAliasVarDecl elem = (DefinitionAliasVarDecl) defUnit;
return elem.getName() + getAliasSegment(elem.target) + getDefUnitContainerSuffix(defUnit);
}
case DEFINITION_ALIAS_FUNCTION_DECL: {
DefinitionAliasFunctionDecl elem = (DefinitionAliasFunctionDecl) defUnit;
// TODO: print a proper alias segment
return elem.getName() + getAliasSegment(elem.target) + getDefUnitContainerSuffix(defUnit);
}
default: break;
}