aboutsummaryrefslogtreecommitdiffstats
path: root/rba.tool.editor/src/rba/tool/editor/generator/json/IJSONGenerator.xtend
blob: e65c1306f446a581c78cefabbc643456e93d7ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package rba.tool.editor.generator.json

import org.eclipse.emf.ecore.resource.ResourceSet
import org.eclipse.xtext.generator.IFileSystemAccess2
import org.eclipse.xtext.generator.IGenerator2
import org.eclipse.xtext.generator.IGeneratorContext
import org.eclipse.xtext.generator.OutputConfiguration

interface IJSONGenerator extends IGenerator2 {

	static OutputConfiguration OUTPUT_CONFIGURATION = new JSONGeneratorOutputConfiguration();

	def void doGenerate(ResourceSet input, IFileSystemAccess2 fsa, IGeneratorContext context);

	def void beforeGenerate(ResourceSet input, IFileSystemAccess2 fsa, IGeneratorContext context);

	def void afterGenerate(ResourceSet input, IFileSystemAccess2 fsa, IGeneratorContext context);
}