| /******************************************************************************* |
| * Copyright (c) 2013, 2015 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 |
| * |
| * </copyright> |
| * |
| * This code is auto-generated |
| * from: org.eclipse.qvtd.pivot.qvtimperative/model/QVTimperative.genmodel |
| * |
| * Only the copyright statement is editable. |
| *******************************************************************************/ |
| package org.eclipse.qvtd.pivot.qvtimperative.util; |
| |
| import java.lang.Boolean; |
| import org.eclipse.jdt.annotation.NonNull; |
| import org.eclipse.jdt.annotation.Nullable; |
| import org.eclipse.ocl.pivot.internal.utilities.AS2XMIid; |
| import org.eclipse.qvtd.pivot.qvtcorebase.utilities.QVTcoreBaseAS2XMIidVisitor; |
| |
| /** |
| * An AbstractQVTimperativeAS2XMIidVisitor provides a default implementation for each |
| * visitXxx method that delegates to the visitYyy method of the first |
| * super class, (or transitively its first super class' first super class |
| * until a non-interface super-class is found). In the absence of any |
| * suitable first super class, the method delegates to visiting(). |
| */ |
| public abstract class AbstractQVTimperativeAS2XMIidVisitor |
| extends QVTcoreBaseAS2XMIidVisitor |
| implements QVTimperativeVisitor<Boolean> |
| { |
| /** |
| * Initializes me with an initial value for my result. |
| * |
| * @param context my initial result value |
| */ |
| protected AbstractQVTimperativeAS2XMIidVisitor(@NonNull AS2XMIid context) { |
| super(context); |
| } |
| |
| @Override |
| public @Nullable Boolean visitImperativeBottomPattern(@NonNull org.eclipse.qvtd.pivot.qvtimperative.ImperativeBottomPattern object) { |
| return visitBottomPattern(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitImperativeModel(@NonNull org.eclipse.qvtd.pivot.qvtimperative.ImperativeModel object) { |
| return visitBaseModel(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMapping(@NonNull org.eclipse.qvtd.pivot.qvtimperative.Mapping object) { |
| return visitRule(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMappingCall(@NonNull org.eclipse.qvtd.pivot.qvtimperative.MappingCall object) { |
| return visitMappingStatement(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMappingCallBinding(@NonNull org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding object) { |
| return visitElement(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMappingLoop(@NonNull org.eclipse.qvtd.pivot.qvtimperative.MappingLoop object) { |
| return visitLoopExp(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMappingSequence(@NonNull org.eclipse.qvtd.pivot.qvtimperative.MappingSequence object) { |
| return visitMappingStatement(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitMappingStatement(@NonNull org.eclipse.qvtd.pivot.qvtimperative.MappingStatement object) { |
| return visitOCLExpression(object); |
| } |
| |
| @Override |
| public @Nullable Boolean visitVariablePredicate(@NonNull org.eclipse.qvtd.pivot.qvtimperative.VariablePredicate object) { |
| return visitPredicate(object); |
| } |
| } |