ISpoofaxLanguageSpecService

public interface ISpoofaxLanguageSpecService extends ILanguageSpecService

Service for getting a Spoofax language specification.

Methods

available

boolean available(IProject project)

Checks if given project is a Spoofax language specification.

Parameters:
  • project – Project to check.
Returns:

True if project is a language specification, false otherwise.

get

ISpoofaxLanguageSpec get(IProject project)

Gets a Spoofax language specification from the specified project.

Parameters:
  • project – The project.
Throws:
  • ConfigException – When reading Spoofax language specification configuration fails.
Returns:

The Spoofax language specification, or null when the project is not a Spoofax language specification.