blob: 259d6f4da94d0c445e0d2a475e883106e7a45bda [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Willink Transformations, Univesity of York 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:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*
* This code is auto-generated
* from: org.eclipse.qvtd.cs2as.compiler.tests/src/org/eclipse/qvtd/cs2as/compiler/tests/models/delphi/astm.genmodel
*
* Only the copyright statement is editable.
*******************************************************************************/
package astm.util;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.jdt.annotation.NonNull;
public interface Visitable
{
/**
* Returns the result of accepting a visit from a visitor.
* Implementations typically invoke a derived-class-specific
* variant of visitXXX() to facilitate derived-class-specific
* processing or just visit() when no such method is available.
* <p>
* Implementations of visit() may use the EcoreSwitch to perform
* derived-class-specific processing.
* <p>
* Derived implementations of accept() may use getAdapter() to obtain
* richer visitor interfaces.
* @param <R>
* @param visitor
* @return the result of the visit.
*/
<R> R accept(astm.util.@NonNull Visitor<R> visitor);
EClass eClass();
}