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 Details

  • 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 class org.eclipse.emf.validation.AbstractModelConstraint