| /******************************************************************************* |
| * <copyright> |
| * |
| * 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.qvttemplate/model/QVTtemplate.genmodel |
| * |
| * Only the copyright statement is editable. |
| *******************************************************************************/ |
| package org.eclipse.qvtd.pivot.qvttemplate.util; |
| |
| import org.eclipse.jdt.annotation.NonNull; |
| |
| /** |
| * An AbstractMergedQVTtemplateVisitor merges all visits direct to visiting(). |
| * This can be used by a decorating visitor to execute shared code before redispatching to a decorated visitor. |
| */ |
| public abstract class AbstractMergedQVTtemplateVisitor<R, C> |
| extends org.eclipse.qvtd.pivot.qvtbase.util.AbstractMergedQVTbaseVisitor<R, C> |
| implements QVTtemplateVisitor<R> |
| { |
| protected AbstractMergedQVTtemplateVisitor(C context) { |
| super(context); |
| } |
| |
| @Override |
| public R visitCollectionTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull CollectionTemplateExp object) { |
| return visiting(object); |
| } |
| |
| @Override |
| public R visitObjectTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull ObjectTemplateExp object) { |
| return visiting(object); |
| } |
| |
| @Override |
| public R visitPropertyTemplateItem(org.eclipse.qvtd.pivot.qvttemplate.@NonNull PropertyTemplateItem object) { |
| return visiting(object); |
| } |
| |
| @Override |
| public R visitTemplateExp(org.eclipse.qvtd.pivot.qvttemplate.@NonNull TemplateExp object) { |
| return visiting(object); |
| } |
| } |