ILanguageSpecService

public interface ILanguageSpecService

Service for getting a language specification.

Methods

available

boolean available(IProject project)

Checks if given project is a language specification.

Parameters:
  • project – Project to check.
Returns:

True if project is a language specification, false otherwise.

get

ILanguageSpec get(IProject project)

Gets a language specification from the specified project.

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

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