Class StackUnderflowConstraint
java.lang.Object
org.eclipse.emf.validation.AbstractModelConstraint
org.eclipse.m2m.atl.emftvm.constraints.StackUnderflowConstraint
public class StackUnderflowConstraint
extends org.eclipse.emf.validation.AbstractModelConstraint
Validates the final stack level of code blocks, which should be 0 or 1.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatus
validate
(org.eclipse.emf.validation.IValidationContext ctx)
-
Field Details
-
validator
-
-
Constructor Details
-
StackUnderflowConstraint
public StackUnderflowConstraint()
-
-
Method Details
-
validate
public org.eclipse.core.runtime.IStatus validate(org.eclipse.emf.validation.IValidationContext ctx) - Specified by:
validate
in classorg.eclipse.emf.validation.AbstractModelConstraint
-