ITermFactoryService

public interface ITermFactoryService

Interface for retrieving term factories for languages and generic use.

Methods

get

ITermFactory get(ILanguageImpl impl, IProject project, boolean supportsTypesmart)

Return the term factory to be used when constructing new terms for given language implementation.

Parameters:
  • impl – Implementation to get the term factory for.
  • project – The current project through which the user can require typesmart analysis.
  • supportsTypesmart – Whether the caller supports typesmart analysis.
Returns:

Language-specific term factory.

get

ITermFactory get(ILanguageComponent component, IProject project, boolean supportsTypesmart)

Return the term factory to be used when constructing new terms for given language component.

Parameters:
  • component – Component to get the term factory for.
  • project – The current project through which the user can require typesmart analysis.
  • supportsTypesmart – Whether the caller supports typesmart analysis.
Returns:

Language-specific term factory.

getGeneric

ITermFactory getGeneric()

Returns the generic term factory.

Returns:Generic term factory.