Search in sources :

Example 1 with LanguageContext

use of com.oracle.truffle.api.test.polyglot.ContextAPITestLanguage.LanguageContext in project graal by oracle.

the class ContextAPITestLanguage method createContext.

@Override
protected LanguageContext createContext(Env env) {
    ContextAPITest.langContext = new LanguageContext();
    ContextAPITest.langContext.env = env;
    return ContextAPITest.langContext;
}
Also used : LanguageContext(com.oracle.truffle.api.test.polyglot.ContextAPITestLanguage.LanguageContext)

Aggregations

LanguageContext (com.oracle.truffle.api.test.polyglot.ContextAPITestLanguage.LanguageContext)1