@Override protected Object executeImpl(Object receiver, Object[] args) { return ForeignAccess.sendIsInstantiable(isInstantiableNode, (TruffleObject) receiver); }
@Override protected Object executeImpl(PolyglotLanguageContext context, Object receiver, Object[] args) { return ForeignAccess.sendIsInstantiable(isInstantiableNode, (TruffleObject) receiver); }
private boolean isInstantiable(TruffleObject object) { return ForeignAccess.sendIsInstantiable(isInstantiable, object); }
private boolean isInstantiable(TruffleObject object) { return ForeignAccess.sendIsInstantiable(isInstantiable, object); }
if (executable) { result = sendExecute(execute, function, functionArgs); } else if (sendIsInstantiable(isInstantiable, function)) { result = sendNew(instantiate, function, functionArgs); } else {
if (executable) { result = sendExecute(execute, function, functionArgs); } else if (sendIsInstantiable(isInstantiable, function)) { result = sendNew(instantiate, function, functionArgs); } else {