io.sarl.lang
Class SARLStandaloneSetup
All Superinterfaces:
org.eclipse.xtext.ISetup
class SARLStandaloneSetup
extends SARLStandaloneSetupGenerated
Initialization support for running Xtext languages without equinox extension registry.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
com.google.inject.Injector createInjector(Module*)
Create the injectors based on the given set of modules.
com.google.inject.Injector createInjectorAndDoEMFRegistration
com.google.inject.Injector createInjectorAndDoEMFRegistration(Module*)
Create the injector based on the given set of modules and prepare the EMF infrastructure.
static com.google.inject.Injector doPostSetup(Injector)
Run the post-setup task.
static void doPreSetup
Run the pre-setup task.
static com.google.inject.Injector doSetup
Set up the EMF modules for the SARL language.
static com.google.inject.Injector doSetup(Module*)
Set up the EMF modules for the SARL language.
Constructor Details
new
new
Action Details
createInjector(Module*)
def createInjector(Module*) : com.google.inject.Injector
Create the injectors based on the given set of modules.
Parameters:
modules - the injection modules that are overriding the standard SARL module.
Returns:
the injector.
Since:
0.8
See:
SARLRuntimeModule
createInjectorAndDoEMFRegistration
def createInjectorAndDoEMFRegistration : com.google.inject.Injector
createInjectorAndDoEMFRegistration(Module*)
def createInjectorAndDoEMFRegistration(Module*) : com.google.inject.Injector
Create the injector based on the given set of modules and prepare the EMF infrastructure.
Parameters:
modules - the injection modules that are overriding the standard SARL module.
Returns:
the injector.
Since:
0.8
See:
SARLRuntimeModule
doPostSetup(Injector)
def doPostSetup(Injector) : com.google.inject.Injector
Run the post-setup task.

This function is provided in order to let the caller to create the injector by hand. It is recommended to invoke doSetup() in place of this function.
Parameters:
injector - the injector to be used.
Returns:
the injector.
Since:
0.8
See:
doSetup , doSetup(Module*)
doPreSetup
def doPreSetup
Run the pre-setup task.

This function is provided in order to let the caller to create the injector by hand. It is recommended to invoke doSetup() in place of this function.
Since:
0.8
See:
doSetup , doSetup(Module*)
doSetup
def doSetup : com.google.inject.Injector
Set up the EMF modules for the SARL language.
Returns:
the injector.
doSetup(Module*)
def doSetup(Module*) : com.google.inject.Injector
Set up the EMF modules for the SARL language.
Parameters:
modules - the injection modules that are overriding the standard SARL module.
Returns:
the injector.
Since:
0.8
See:
SARLRuntimeModule