public abstract class InternalResourceProvider extends Object
InternalResource using a ServiceLoader. This
interface is not intended to be implemented directly by a language developer, rather the
implementation is generated by the Truffle DSL.| Constructor and Description |
|---|
InternalResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
createInternalResource()
Creates an
InternalResource instance. |
protected abstract String |
getComponentId()
Provides the identifier of the language or instrument to which the resource belongs.
|
protected abstract String |
getResourceId()
An internal resource identifier.
|
protected abstract String getComponentId()
protected abstract String getResourceId()
InternalResource.Id.value().protected abstract Object createInternalResource()
InternalResource instance.