io.sarl.lang.extralanguage
Interface IExtraLanguageContribution
All Known Implementing Classes:
PyContribution
interface IExtraLanguageContribution
Provider of a contribution as an extra-language generator.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.8
Property Summary
Modifier and type Property and description
IExtraLanguageGeneratorProvider generatorProvider
Replies the provider of a generator.
java.util.Collection<E> identifiers
Replies the identifiers that correspond to this contribution.
IExtraLanguageKeywordProvider keywordProvider
Replies the provider of the extra-language keywords.
org.eclipse.xtext.generator.IOutputConfigurationProvider outputConfigurationProvider
Replies the provider of an output configuration related to the extra-language generator.
IExtraLanguageValidatorProvider validatorProvider
Replies the provider of a validator.
Action Summary
Modifier and type Action and description
abstract IExtraLanguageGeneratorProvider getGeneratorProvider
Replies the provider of a generator.
default java.util.Collection<E> getIdentifiers
Replies the identifiers that correspond to this contribution.
abstract IExtraLanguageKeywordProvider getKeywordProvider
Replies the provider of the extra-language keywords.
abstract org.eclipse.xtext.generator.IOutputConfigurationProvider getOutputConfigurationProvider
Replies the provider of an output configuration related to the extra-language generator.
abstract IExtraLanguageValidatorProvider getValidatorProvider
Replies the provider of a validator.
default boolean isAcceptedIdentifier(String)
Replies if the given identifier corresponds to this contribution.
Property Details
generatorProvider
val generatorProvider : IExtraLanguageGeneratorProvider
Replies the provider of a generator.

This property is an alias for the action: getGeneratorProvider

Returns:
the provider of a extra-language generator.
identifiers
val identifiers : java.util.Collection<E>
Replies the identifiers that correspond to this contribution.

This property is an alias for the action: getIdentifiers

Returns:
the identifiers.
keywordProvider
val keywordProvider : IExtraLanguageKeywordProvider
Replies the provider of the extra-language keywords.

This property is an alias for the action: getKeywordProvider

Returns:
the provider of keywords.
outputConfigurationProvider
val outputConfigurationProvider : org.eclipse.xtext.generator.IOutputConfigurationProvider
Replies the provider of an output configuration related to the extra-language generator.

This property is an alias for the action: getOutputConfigurationProvider

Returns:
the provider of an output configuration.
validatorProvider
val validatorProvider : IExtraLanguageValidatorProvider
Replies the provider of a validator.

This property is an alias for the action: getValidatorProvider

Returns:
the provider of a extra-language validator.
Action Details
getGeneratorProvider
def getGeneratorProvider : IExtraLanguageGeneratorProvider
Replies the provider of a generator.
Returns:
the provider of a extra-language generator.
getIdentifiers
def getIdentifiers : java.util.Collection<E>
Replies the identifiers that correspond to this contribution.
Returns:
the identifiers.
getKeywordProvider
def getKeywordProvider : IExtraLanguageKeywordProvider
Replies the provider of the extra-language keywords.
Returns:
the provider of keywords.
getOutputConfigurationProvider
def getOutputConfigurationProvider : org.eclipse.xtext.generator.IOutputConfigurationProvider
Replies the provider of an output configuration related to the extra-language generator.
Returns:
the provider of an output configuration.
getValidatorProvider
def getValidatorProvider : IExtraLanguageValidatorProvider
Replies the provider of a validator.
Returns:
the provider of a extra-language validator.
isAcceptedIdentifier(String)
def isAcceptedIdentifier(String) : boolean
Replies if the given identifier corresponds to this contribution.
Parameters:
identifier - the identifier to test.
Returns:
true if the identifier is accepted. false otherwise.