blob: 74b81d7f1c4789177e75e6b12dde0b4242fe1cc1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2014 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.xtext.qvtcore/model/QVTcoreCS.genmodel
*
* Only the copyright statement is editable.
*******************************************************************************/
package org.eclipse.qvtd.xtext.qvtcorecs.util;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.ocl.xtext.base.cs2as.CS2ASConversion;
import org.eclipse.ocl.xtext.base.cs2as.Continuation;
import org.eclipse.qvtd.xtext.qvtcorebase.cs2as.QVTcoreBaseCSPostOrderVisitor;
/**
* An AbstractQVTcoreCSPostOrderVisitor 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 AbstractQVTcoreCSPostOrderVisitor
extends QVTcoreBaseCSPostOrderVisitor
implements QVTcoreCSVisitor<Continuation<?>>
{
/**
* Initializes me with an initial value for my result.
*
* @param context my initial result value
*/
protected AbstractQVTcoreCSPostOrderVisitor(@NonNull CS2ASConversion context) {
super(context);
}
@Override
public @Nullable Continuation<?> visitMappingCS(@NonNull org.eclipse.qvtd.xtext.qvtcorecs.MappingCS csElement) {
return visitAbstractMappingCS(csElement);
}
@Override
public @Nullable Continuation<?> visitTopLevelCS(@NonNull org.eclipse.qvtd.xtext.qvtcorecs.TopLevelCS csElement) {
return visitRootPackageCS(csElement);
}
}