All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.truffle.tck.TruffleTestInvokerTruffleTestInvokerLanguageProvider Maven / Gradle / Ivy

Go to download

A collection of tests that can certify language implementation to be compliant with most recent requirements of the Truffle infrastructure and tooling.

The newest version!
// CheckStyle: start generated
package com.oracle.truffle.tck;

import com.oracle.truffle.api.TruffleLanguage.ContextPolicy;
import com.oracle.truffle.api.TruffleLanguage.Registration;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.provider.TruffleLanguageProvider;
import com.oracle.truffle.tck.TruffleTestInvoker.TruffleTestInvokerLanguage;
import java.util.Collection;
import java.util.List;

@GeneratedBy(TruffleTestInvokerLanguage.class)
@Registration(contextPolicy = ContextPolicy.SHARED, id = "truffletestinvoker", name = "truffletestinvoker", version = "")
public final class TruffleTestInvokerTruffleTestInvokerLanguageProvider extends TruffleLanguageProvider {

    @Override
    protected String getLanguageClassName() {
        return "com.oracle.truffle.tck.TruffleTestInvoker$TruffleTestInvokerLanguage";
    }

    @Override
    protected Object create() {
        return new TruffleTestInvokerLanguage();
    }

    @Override
    protected Collection getServicesClassNames() {
        return List.of();
    }

    @Override
    protected List createFileTypeDetectors() {
        return List.of();
    }

    @Override
    protected List getInternalResourceIds() {
        return List.of();
    }

    @Override
    protected Object createInternalResource(String resourceId) {
        throw new IllegalArgumentException(String.format("Unsupported internal resource id %s, supported ids are ", resourceId));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy