ISpoofaxLanguageSpecConfigService

public interface ISpoofaxLanguageSpecConfigService extends ILanguageSpecConfigService

Stores and retrieves Spoofax language specification configurations.

Methods

available

boolean available(FileObject rootFolder)

Checks if a configuration exists for the Spoofax language specification at the given location.

Parameters:
  • rootFolder – The language specification root folder.
Throws:
  • IOException – When location the configuration fails.
Returns:

True if a configuration exists, false otherwise.

get

ConfigRequest<ISpoofaxLanguageSpecConfig> get(FileObject rootFolder)

Gets the configuration for the Spoofax language specification at the given location.

Parameters:
  • rootFolder – The language specification root folder.
Returns:

Configuration request, either with a valid configuration, or a collection of error messages.