blob: 2c8463da746af4c84f87337e5c6cde21c3ff6ac5 [file] [log] [blame]
/*
* generated by Xtext
*/
/*------------------------------------------------------------------------------
-
- Copyright (c) 2013, 2015 Intecs SpA
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v2.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v20.html
-
- Contributors:
-
- Stefano Puri stefano.puri@intecs.it
-
- Initial API and implementation and/or initial documentation
------------------------------------------------------------------------------*/
package org.polarsys.chess.xtext.generator
import org.eclipse.emf.ecore.resource.Resource
import org.eclipse.xtext.generator.IGenerator
import org.eclipse.xtext.generator.IFileSystemAccess
/**
* Generates code from your model files on save.
*
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
*/
class FlaDslGenerator implements IGenerator {
override void doGenerate(Resource resource, IFileSystemAccess fsa) {
// fsa.generateFile('greetings.txt', 'People to greet: ' +
// resource.allContents
// .filter(typeof(Greeting))
// .map[name]
// .join(', '))
}
}