diff options
Diffstat (limited to 'plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvts2qvti/splitter/Stage.java')
-rw-r--r-- | plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvts2qvti/splitter/Stage.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvts2qvti/splitter/Stage.java b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvts2qvti/splitter/Stage.java new file mode 100644 index 000000000..cc36a3c9c --- /dev/null +++ b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvts2qvti/splitter/Stage.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2016 Willink Transformations and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * E.D.Willink - Initial API and implementation + *******************************************************************************/ +package org.eclipse.qvtd.compiler.internal.qvts2qvti.splitter; + +import org.eclipse.jdt.annotation.NonNull; +import org.eclipse.jdt.annotation.Nullable; +import org.eclipse.qvtd.compiler.internal.qvtp2qvts.Node; + +/** + * A Stage specifies part of a multi-headed region split. It has a headNode to represent its primary content + * and an edge that defines the entry to the stage, null fir the first stage. + */ +interface Stage +{ + void check(); + void debug(); + @Nullable Node getIteratedNode(); + @Nullable Node getIteratorNode(); + void toString(@NonNull StringBuilder s, int depth); +}
\ No newline at end of file |