final String name = ((LiteralNameOrReference) o.getLeftExpr()).getValue();
internalLinkFunctionCall(o, o.getLeftExpr(), name, importedNames, acceptor);
}
private void _link(HostClassDefinition o, PPImportedNamesAdapter importedNames, IMessageAcceptor acceptor) {
final LiteralExpression parent = o.getParent();
if(parent == null)
return;
String parentString = null;
if(parent.eClass() == PPPackage.Literals.LITERAL_DEFAULT)
parentString = "default";
else if(parent.eClass() == PPPackage.Literals.LITERAL_NAME_OR_REFERENCE)
parentString = ((LiteralNameOrReference) parent).getValue();
if(parentString == null || parentString.length() < 1)
return;
SearchResult searchResult = ppFinder.findHostClasses(o, parentString, importedNames);