blob: 08359601fa4d7aedbf6de5cab3e9a44200b2115f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 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.cs2as.compiler/model/cs2ascgmodel.genmodel
*
* Only the copyright statement is editable.
*******************************************************************************/
package org.eclipse.qvtd.cs2as.compiler.cgmodel.util;
import org.eclipse.jdt.annotation.NonNull;
/**
* An AbstractExtendingNonNullCS2ASCGModelVisitor 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().
* The return in annotated as @NonNull.
*/
public abstract class AbstractNonNullExtendingCS2ASCGModelVisitor<R, C>
extends org.eclipse.ocl.examples.codegen.cgmodel.util.AbstractNonNullExtendingCGModelVisitor<R, C>
implements CS2ASCGModelVisitor<R>
{
/**
* Initializes me with an initial value for my result.
*
* @param context my initial result value
*/
protected AbstractNonNullExtendingCS2ASCGModelVisitor(@NonNull C context) {
super(context);
}
@Override
public @NonNull R visitCGLookupCallExp(@NonNull org.eclipse.qvtd.cs2as.compiler.cgmodel.CGLookupCallExp object) {
return visitCGOperationCallExp(object);
}
}