ILanguageComponentConfig

public interface ILanguageComponentConfig extends IProjectConfig

Configuration of a language component at runtime. To create a new instance of this interface, use an ILanguageComponentConfigBuilder interface.

Methods

completionsParseTable

String completionsParseTable()

Gets the (relative) path to the completions parse table.

Returns:path to the completions parse table.

exports

Collection<IExportConfig> exports()

Gets the file exports.

Returns:The file exports.

generates

Collection<IGenerateConfig> generates()

Gets the languages for while files are generated.

Returns:The languages for while files are generated.

identifier

LanguageIdentifier identifier()

Gets the language identifier.

Returns:The language identifier.

jsglrVersion

JSGLRVersion jsglrVersion()

Gets the parser version.

Returns:the parser version.

langContribs

Collection<LanguageContributionIdentifier> langContribs()

Gets the language contributions.

Returns:The language contributions.

name

String name()

Gets the name of the language the component belongs to.

Returns:Name of the language the component belongs to.

parseTable

String parseTable()

Gets the (relative) path to the parse table.

Returns:path to the parse table.

sdf2tableVersion

Sdf2tableVersion sdf2tableVersion()

Gets the sdf2table version to use.

Returns:sdf2table version to use.

sdfEnabled

Boolean sdfEnabled()

Gets whether the project depends on SDF or not.

Returns:true if SDF is enabled and false otherwise.