Skip to main content
summaryrefslogtreecommitdiffstats
blob: 500efa09860da77e8204f4d15fa28f056c1aa27e (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
/**
 * <copyright>
 * </copyright>
 *
 * $Id: IfExpressionValidator.java,v 1.1 2008/03/06 15:35:12 jkohnlein Exp $
 */
package org.eclipse.xpand3.expression.validation;

import org.eclipse.xpand3.expression.AbstractExpression;

/**
 * A sample validator interface for {@link org.eclipse.xpand3.expression.IfExpression}.
 * 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 IfExpressionValidator {
	boolean validate();

	boolean validateCondition(AbstractExpression value);
	boolean validateThenPart(AbstractExpression value);
	boolean validateElsePart(AbstractExpression value);
}

Back to the top