engine. The handle provides access
to the language's meta-data, including the language's id, name, version and options.
Engine#getLanguages()
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AbstractPolyglotImpl. | |
| pack-priv final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | getImplementationName()
Gets a human-readable name of the language implementation (for example, "Graal.JS"). |
| public Set | |
| public String | Returns: the user-friendly name for this language.Gets a human-readable name for the language (for example, "JavaScript"). |
| public OptionDescriptors | |
| public String | |
| public String | |
| public boolean |
| dispatch | back to summary |
|---|---|
| pack-priv final AbstractPolyglotImpl. | |
| receiver | back to summary |
|---|---|
| pack-priv final Object receiver | |
| Language | back to summary |
|---|---|
| pack-priv Language(AbstractPolyglotImpl. | |
| getDefaultMimeType | back to summary |
|---|---|
| public String getDefaultMimeType() Returns the default MIME type that is in use by a language. The default MIME type specifies
whether a source is loaded as character or binary based source by default. Returns
| |
| getId | back to summary |
|---|---|
| public String getId() Gets the primary identification string of this language. The language id is used as the
primary way of identifying languages in the polyglot API. (eg.
| |
| getImplementationName | back to summary |
|---|---|
| public String getImplementationName() Gets a human-readable name of the language implementation (for example, "Graal.JS"). Returns
| |
| getMimeTypes | back to summary |
|---|---|
| public Set Returns the MIME types supported by this language.
| |
| getName | back to summary |
|---|---|
| public String getName() Gets a human-readable name for the language (for example, "JavaScript").
| |
| getOptions | back to summary |
|---|---|
| public OptionDescriptors getOptions() Returns the set of options provided by this language. Option values for languages can either
be provided while building an
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Gets the version information of the language in an arbitrary language-specific format.
| |
| getWebsite | back to summary |
|---|---|
| public String getWebsite() Get the URL for the language website.
| |
| isInteractive | back to summary |
|---|---|
| public boolean isInteractive() Returns
| |