67fdc6e8f3685c3aded259e21a1545c45b5759c3
[des2015.git] / dsl / src / robots / missions / validation / TaskDSLValidator.xtend
1 /*
2 * generated by Xtext
3 */
4 package robots.missions.validation
5
6 //import org.eclipse.xtext.validation.Check
7
8 /**
9 * This class contains custom validation rules.
10 *
11 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
12 */
13 class TaskDSLValidator extends AbstractTaskDSLValidator {
14
15 // public static val INVALID_NAME = 'invalidName'
16 //
17 // @Check
18 // def checkGreetingStartsWithCapital(Greeting greeting) {
19 // if (!Character.isUpperCase(greeting.name.charAt(0))) {
20 // warning('Name should start with a capital',
21 // MyDslPackage.Literals.GREETING__NAME,
22 // INVALID_NAME)
23 // }
24 // }
25 }