All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.integratedmodelling.kim.validation.KimValidator.xtend Maven / Gradle / Ivy

/*
 * generated by Xtext 2.9.1
 */
package org.integratedmodelling.kim.validation


/**
 * This class contains custom validation rules. 
 *
 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
 */
class KimValidator extends AbstractKimValidator {
	
//  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', 
//					KimPackage.Literals.GREETING__NAME,
//					INVALID_NAME)
//		}
//	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy