Commit aab37516 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* restored validator stub

parent d8ee1fa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ Workflow {

				// Generates checks for @Deprecated grammar annotations, an IssueProvider and a corresponding PropertyPage
				generateDeprecationValidation = true
				generateStub = false
				generateStub = true
			}
			
			generator = {
+25 −0
Original line number Diff line number Diff line
/*
 * generated by Xtext 2.36.0
 */
package de.ugoe.cs.swe.validation;


/**
 * This class contains custom validation rules. 
 *
 * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation
 */
public class TTCN3Validator extends AbstractTTCN3Validator {
	
//	public static final String INVALID_NAME = "invalidName";
//
//	@Check
//	public void checkGreetingStartsWithCapital(Greeting greeting) {
//		if (!Character.isUpperCase(greeting.getName().charAt(0))) {
//			warning("Name should start with a capital",
//					TTCN3Package.Literals.GREETING__NAME,
//					INVALID_NAME);
//		}
//	}
	
}