blob: 0bfc0d86e12952997f119f16762f2b1665cb115d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 Obeo.
* 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:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.acceleo.aql.location.aql;
import org.eclipse.acceleo.query.ast.Expression;
import org.eclipse.acceleo.query.ast.VariableDeclaration;
import org.eclipse.emf.ecore.EObject;
/**
* {@link AbstractAqlLocationLink} implementation that links to another AQL AST node, that is, an
* {@link Expression} or a {@link VariableDeclaration}.
*
* @author Florent Latombe
*/
public class AqlLocationLinkToAql extends AbstractAqlLocationLink<EObject> {
/**
* Constructor.
*
* @param fromElement
* the (non-{@code null}) origin {@link EObject} ({@link Expression} or
* {@link VariableDeclaration}) of this link.
* @param toElement
* the (non-{@code null}) destination {@link EObject} ({@link Expression} or
* {@link VariableDeclaration}) of this link.
*/
public AqlLocationLinkToAql(EObject fromElement, EObject toElement) {
super(fromElement, toElement);
}
}