| Modifier and type | Property and description |
|---|---|
| IActionPrototypeProvider | actionPrototypeProvider
Replies the provider of action prototype. |
| org.eclipse.xtext.xbase.controlflow.IEarlyExitComputer | earlyExitComputer
Replies the early exit computer. |
| IExpressionGenerator | expressionGenerator
Replies the generator dedicated to the expressions. |
| protected java.lang.String | filenameExtension
Replies the filename extension. |
| protected com.google.inject.Injector | injector
Replies the injector. |
| SarlJvmModelAssociations | jvmModelAssociations
Replies the associations between the SARL elements and the JVM elements. |
| protected java.lang.String | outputConfigurationName
Replies the name of the output configuration to be used. |
| protected java.lang.String | preferenceID
Replies the identifier of the container of the generator's preferences. |
| org.eclipse.xtext.naming.IQualifiedNameConverter | qualifiedNameConverter
Replies the converter of qualified name. |
| org.eclipse.xtext.naming.IQualifiedNameProvider | qualifiedNameProvider
Replies the provider of qualified name. |
| org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder | typeBuilder
Replies the type builder. |
| org.eclipse.xtext.xbase.jvmmodel.JvmTypeExtensions | typeExtensions
Replies the type extension provider. |
| org.eclipse.xtext.common.types.util.TypeReferences | typeReferences
Replies the type reference finder. |
| org.eclipse.xtext.xbase.typesystem.IBatchTypeResolver | typeResolver
Replies the type resolver for expressions. |
| Modifier and type | Type and description |
|---|---|
| interface | AbstractExtraLanguageGenerator.ExtraLanguageSupportModule
Description of a module that provides extra language support. |
| Modifier and type | Action and description |
|---|---|
| protected void | _generate(SarlScript,IExtraLanguageGeneratorContext)
Generate the given script. |
| protected void | after(EObject,IExtraLanguageGeneratorContext)
Do something after the generation of the given object. |
| void | afterGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
| protected void | before(EObject,IExtraLanguageGeneratorContext)
Do something before the generation of the given object. |
| void | beforeGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
| protected boolean | canGenerateFor(EObject)
Replies if this generator can generate resources from the given element. |
| protected abstract ExtraLanguageAppendable | createAppendable(JvmDeclaredType,IExtraLanguageGeneratorContext)
Create the appendable object. |
| protected IExtraLanguageGeneratorContext | createGeneratorContext(IFileSystemAccess2,IGeneratorContext,Resource)
Create the generator context for this generator. |
| void | doGenerate(EObject,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the given object. |
| void | doGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
| protected void | generate(EObject,IExtraLanguageGeneratorContext)
Generate the given object. |
| protected void | generate(EObject,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the given object. |
| protected void | generate(XExpression,LightweightTypeReference,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the given object. |
| protected void | generateFileHeader(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the header of the file.. |
| protected void | generateImportStatement(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the import for the given name. |
| protected boolean | generateJvmMembers(List<E>,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the members (except constructors) for a Python class. |
| protected boolean | generateSarlMembers(List<E>,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Generate the members (except constructors) for a Python class. |
| IActionPrototypeProvider | getActionPrototypeProvider
Replies the provider of action prototype. |
| protected org.eclipse.xtext.xbase.XExpression | getAssociatedExpression(JvmMember)
Replies the expression associated to the given object. |
| org.eclipse.xtext.xbase.controlflow.IEarlyExitComputer | getEarlyExitComputer
Replies the early exit computer. |
| protected org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference | getExpectedType(XExpression)
Compute the expected type of the given expression. |
| protected org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference | getExpectedType(XtendExecutable,JvmTypeReference)
Replies the expected type of the given executable. |
| abstract IExpressionGenerator | getExpressionGenerator
Replies the generator dedicated to the expressions. |
| ExtraLanguageFeatureNameConverter | getFeatureNameConverter(IExtraLanguageGeneratorContext)
Replies the converter of feature names. |
| protected abstract java.lang.String | getFilenameExtension
Replies the filename extension. |
| protected com.google.inject.Injector | getInjector
Replies the injector. |
| SarlJvmModelAssociations | getJvmModelAssociations
Replies the associations between the SARL elements and the JVM elements. |
| protected abstract java.lang.String | getOutputConfigurationName
Replies the name of the output configuration to be used. |
| protected abstract java.lang.String | getPreferenceID
Replies the identifier of the container of the generator's preferences. |
| org.eclipse.xtext.naming.IQualifiedNameConverter | getQualifiedNameConverter
Replies the converter of qualified name. |
| org.eclipse.xtext.naming.IQualifiedNameProvider | getQualifiedNameProvider
Replies the provider of qualified name. |
| protected static java.util.List<E> | getSuperTypes(JvmTypeReference,List<E>)
Replies the merged list with the extended and implemented types. |
| org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder | getTypeBuilder
Replies the type builder. |
| ExtraLanguageTypeConverter | getTypeConverter(IExtraLanguageGeneratorContext)
Replies the type converter. |
| org.eclipse.xtext.xbase.jvmmodel.JvmTypeExtensions | getTypeExtensions
Replies the type extension provider. |
| org.eclipse.xtext.common.types.util.TypeReferences | getTypeReferences
Replies the type reference finder. |
| org.eclipse.xtext.xbase.typesystem.IBatchTypeResolver | getTypeResolver
Replies the type resolver for expressions. |
| protected void | initializeContext(IExtraLanguageGeneratorContext)
Initialize the given context. |
| static java.util.List<E> | loadPropertyFile(String,ExtraLanguageSupportModule,Class<T>)
Load a property file from the resources. |
| void | setActionPrototypeProvider(IActionPrototypeProvider)
Change the provider of action prototype. |
| void | setCommonTypeComputationServices(CommonTypeComputationServices)
Change the common type service. |
| void | setEarlyExitComputer(IEarlyExitComputer)
Change the early exit computer. |
| void | setInjector(Injector)
Change the injector. |
| void | setJvmModelAssociations(SarlJvmModelAssociations)
Change the associations between the SARL elements and the JVM elements. |
| void | setLogicalContainerProvider(IActionPrototypeProvider)
Change the provider of action prototype. |
| void | setQualifiedNameConverter(IQualifiedNameConverter)
Change the converter of qualified name. |
| void | setQualifiedNameProvider(IQualifiedNameProvider)
Change the provider of qualified name. |
| void | setTypeBuilder(JvmTypesBuilder)
Change the type builder. |
| void | setTypeExtensions(JvmTypeExtensions)
Change the type extension provider. |
| void | setTypeReferences(TypeReferences)
Change the type reference finder. |
| void | setTypeResolver(IBatchTypeResolver)
Change the type resolver for expressions. |
| protected java.lang.String | toFilename(QualifiedName)
Replies the filename for the qualified name. |
| protected java.lang.String | toFilename(QualifiedName,String)
Replies the filename for the qualified name. |
| protected boolean | writeFile(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
Write the given file. |
var actionPrototypeProvider : IActionPrototypeProvider
This property is an alias for the action: getActionPrototypeProvider
var earlyExitComputer : org.eclipse.xtext.xbase.controlflow.IEarlyExitComputer
This property is an alias for the action: getEarlyExitComputer
val expressionGenerator : IExpressionGenerator
This property is an alias for the action: getExpressionGenerator
protected val filenameExtension : java.lang.String
This property is an alias for the action: getFilenameExtension
protected var injector : com.google.inject.Injector
This property is an alias for the action: getInjector
var jvmModelAssociations : SarlJvmModelAssociations
This property is an alias for the action: getJvmModelAssociations
protected val outputConfigurationName : java.lang.String
This property is an alias for the action: getOutputConfigurationName
protected val preferenceID : java.lang.String
This property is an alias for the action: getPreferenceID
var qualifiedNameConverter : org.eclipse.xtext.naming.IQualifiedNameConverter
This property is an alias for the action: getQualifiedNameConverter
var qualifiedNameProvider : org.eclipse.xtext.naming.IQualifiedNameProvider
This property is an alias for the action: getQualifiedNameProvider
var typeBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder
This property is an alias for the action: getTypeBuilder
var typeExtensions : org.eclipse.xtext.xbase.jvmmodel.JvmTypeExtensions
This property is an alias for the action: getTypeExtensions
var typeReferences : org.eclipse.xtext.common.types.util.TypeReferences
This property is an alias for the action: getTypeReferences
var typeResolver : org.eclipse.xtext.xbase.typesystem.IBatchTypeResolver
This property is an alias for the action: getTypeResolver
new
protected def _generate(SarlScript,IExtraLanguageGeneratorContext)
protected def after(EObject,IExtraLanguageGeneratorContext)
def afterGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
protected def before(EObject,IExtraLanguageGeneratorContext)
def beforeGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
protected def canGenerateFor(EObject) : boolean
protected def createAppendable(JvmDeclaredType,IExtraLanguageGeneratorContext) : ExtraLanguageAppendable
protected def createGeneratorContext(IFileSystemAccess2,IGeneratorContext,Resource) : IExtraLanguageGeneratorContext
def doGenerate(EObject,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
def doGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
protected def generate(EObject,IExtraLanguageGeneratorContext)
protected def generate(EObject,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generate(XExpression,LightweightTypeReference,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generateFileHeader(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generateImportStatement(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generateJvmMembers(List<E>,ExtraLanguageAppendable,IExtraLanguageGeneratorContext) : boolean
protected def generateSarlMembers(List<E>,ExtraLanguageAppendable,IExtraLanguageGeneratorContext) : boolean
def getActionPrototypeProvider : IActionPrototypeProvider
protected def getAssociatedExpression(JvmMember) : org.eclipse.xtext.xbase.XExpression
def getEarlyExitComputer : org.eclipse.xtext.xbase.controlflow.IEarlyExitComputer
protected def getExpectedType(XExpression) : org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference
protected def getExpectedType(XtendExecutable,JvmTypeReference) : org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReference
def getExpressionGenerator : IExpressionGenerator
def getFeatureNameConverter(IExtraLanguageGeneratorContext) : ExtraLanguageFeatureNameConverter
protected def getFilenameExtension : java.lang.String
protected def getInjector : com.google.inject.Injector
def getJvmModelAssociations : SarlJvmModelAssociations
protected def getOutputConfigurationName : java.lang.String
protected def getPreferenceID : java.lang.String
def getQualifiedNameConverter : org.eclipse.xtext.naming.IQualifiedNameConverter
def getQualifiedNameProvider : org.eclipse.xtext.naming.IQualifiedNameProvider
protected def getSuperTypes(JvmTypeReference,List<E>) : java.util.List<E>
def getTypeBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmTypesBuilder
def getTypeConverter(IExtraLanguageGeneratorContext) : ExtraLanguageTypeConverter
def getTypeExtensions : org.eclipse.xtext.xbase.jvmmodel.JvmTypeExtensions
def getTypeReferences : org.eclipse.xtext.common.types.util.TypeReferences
def getTypeResolver : org.eclipse.xtext.xbase.typesystem.IBatchTypeResolver
protected def initializeContext(IExtraLanguageGeneratorContext)
def loadPropertyFile(String,ExtraLanguageSupportModule,Class<T>) : java.util.List<E>
def setActionPrototypeProvider(IActionPrototypeProvider)
def setCommonTypeComputationServices(CommonTypeComputationServices)
def setEarlyExitComputer(IEarlyExitComputer)
def setInjector(Injector)
def setJvmModelAssociations(SarlJvmModelAssociations)
def setLogicalContainerProvider(IActionPrototypeProvider)
def setQualifiedNameConverter(IQualifiedNameConverter)
def setQualifiedNameProvider(IQualifiedNameProvider)
def setTypeBuilder(JvmTypesBuilder)
def setTypeExtensions(JvmTypeExtensions)
def setTypeReferences(TypeReferences)
def setTypeResolver(IBatchTypeResolver)
protected def toFilename(QualifiedName) : java.lang.String
protected def toFilename(QualifiedName,String) : java.lang.String
protected def writeFile(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext) : boolean