RDL-Editor/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/validation/RDLValidator.xtend

26 lines
582 B
Plaintext

/*
* generated by Xtext 2.14.0
*/
package com.minres.rdl.validation
/**
* This class contains custom validation rules.
*
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
*/
class RDLValidator extends AbstractRDLValidator {
// public static val INVALID_NAME = 'invalidName'
//
// @Check
// def checkGreetingStartsWithCapital(Greeting greeting) {
// if (!Character.isUpperCase(greeting.name.charAt(0))) {
// warning('Name should start with a capital',
// RDLPackage.Literals.GREETING__NAME,
// INVALID_NAME)
// }
// }
}