Modifier and type | Property and description |
---|---|
IExtraLanguageGeneratorProvider | extraGeneratorProvider Replies the provider of the extra generators. |
java.util.logging.Logger | logger Replies the logger. |
org.eclipse.xtext.generator.IGenerator2 | mainGenerator Change the main generator that should be usedd dfor generating files from SARL resource. |
Modifier and type | Field and description |
---|---|
public static val java.lang.String | MAIN_GENERATOR_NAME Name of the injected element for the main generator. |
Modifier and type | Action and description |
---|---|
void | afterGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
void | beforeGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
final void | doGenerate(Resource,IFileSystemAccess) |
void | doGenerate(Resource,IFileSystemAccess2,IGeneratorContext) |
final void | generate(Resource,IFileSystemAccess2,IGeneratorContext) Generate the file(s) from the input resource. |
IExtraLanguageGeneratorProvider | getExtraGeneratorProvider Replies the provider of the extra generators. |
java.util.logging.Logger | getLogger Replies the logger. |
org.eclipse.xtext.generator.IGenerator2 | getMainGenerator Change the main generator that should be usedd dfor generating files from SARL resource. |
void | setExtraGeneratorProvider(IExtraLanguageGeneratorProvider) Change the provider of the extra generators. |
void | setLogger(Logger) Change the logger. |
void | setMainGenerator(IGenerator2) Change the main generator that should be used for generating files from SARL resource. |
var extraGeneratorProvider : IExtraLanguageGeneratorProvider
This property is an alias for the action: getExtraGeneratorProvider
var logger : java.util.logging.Logger
This property is an alias for the action: getLogger
var mainGenerator : org.eclipse.xtext.generator.IGenerator2
This property is an alias for the action: getMainGenerator
public static val MAIN_GENERATOR_NAME : java.lang.String = "io.sarl.lang.generator.extra.MAIN"
new
def afterGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
def beforeGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
def doGenerate(Resource,IFileSystemAccess)
def doGenerate(Resource,IFileSystemAccess2,IGeneratorContext)
def generate(Resource,IFileSystemAccess2,IGeneratorContext)
def getExtraGeneratorProvider : IExtraLanguageGeneratorProvider
def getLogger : java.util.logging.Logger
def getMainGenerator : org.eclipse.xtext.generator.IGenerator2
def setExtraGeneratorProvider(IExtraLanguageGeneratorProvider)
def setLogger(Logger)
def setMainGenerator(IGenerator2)