public final class TruffleContext.Builder extends Object
TruffleContext instances.| Modifier and Type | Method and Description |
|---|---|
TruffleContext |
build()
Builds the new context instance.
|
TruffleContext.Builder |
config(String key,
Object value)
Sets a config parameter that the child context of this language can access using
TruffleLanguage.Env.getConfig(). |
TruffleContext.Builder |
initializeCreatorContext(boolean enabled)
Specifies whether the creating language context should be initialized in the new context.
|
public TruffleContext.Builder config(String key, Object value)
TruffleLanguage.Env.getConfig().public TruffleContext.Builder initializeCreatorContext(boolean enabled)
public TruffleContext build()