Skip to main content
summaryrefslogtreecommitdiffstats
blob: e18825594ea9a4ab004f82fbdef5d70874f5c02a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * <copyright>
 * </copyright>
 *
 * $Id: ForEachStatementValidator.java,v 1.4 2008/03/12 09:54:30 jkohnlein Exp $
 */
package org.eclipse.xpand3.statement.validation;

import org.eclipse.xpand3.Identifier;

import org.eclipse.xpand3.expression.AbstractExpression;

/**
 * A sample validator interface for {@link org.eclipse.xpand3.statement.ForEachStatement}.
 * This doesn't really do anything, and it's not a real EMF artifact.
 * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
 * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
 */
public interface ForEachStatementValidator {
	boolean validate();

	boolean validateTarget(AbstractExpression value);
	boolean validateSeparator(AbstractExpression value);

	boolean validateSeperator(AbstractExpression value);
	boolean validateVariable(Identifier value);
	boolean validateIteratorName(Identifier value);
}

Back to the top