| /**
|
| * *******************************************************************************
|
| * Copyright (c) 2009, 2019 Mia-Software and others.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License v2.0
|
| * which accompanies this distribution, and is available at
|
| * http://www.eclipse.org/legal/epl-v20.html
|
| *
|
| * Contributors:
|
| *
|
| * Sebastien Minguet (Mia-Software) - initial API and implementation
|
| * Frederic Madiot (Mia-Software) - initial API and implementation
|
| * Fabien Giquel (Mia-Software) - initial API and implementation
|
| * Gabriel Barbier (Mia-Software) - initial API and implementation
|
| * Erwan Breton (Sodifrance) - initial API and implementation
|
| * Romain Dervaux (Mia-Software) - initial API and implementation
|
| * *******************************************************************************
|
| *
|
| * $Id$
|
| */ |
| package org.eclipse.modisco.java;
|
|
|
| import org.eclipse.emf.common.util.EList;
|
| import org.eclipse.modisco.java.Expression;
|
| import org.eclipse.modisco.java.NamedElement;
|
| import org.eclipse.modisco.java.SingleVariableAccess;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Variable Declaration</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.java.VariableDeclaration#getExtraArrayDimensions <em>Extra Array Dimensions</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.VariableDeclaration#getInitializer <em>Initializer</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.VariableDeclaration#getUsageInVariableAccess <em>Usage In Variable Access</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getVariableDeclaration()
|
| * @model abstract="true"
|
| * @generated
|
| */
|
| public interface VariableDeclaration extends NamedElement {
|
| /**
|
| * Returns the value of the '<em><b>Extra Array Dimensions</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Extra Array Dimensions</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Extra Array Dimensions</em>' attribute.
|
| * @see #setExtraArrayDimensions(int)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getVariableDeclaration_ExtraArrayDimensions()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| int getExtraArrayDimensions();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.VariableDeclaration#getExtraArrayDimensions <em>Extra Array Dimensions</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Extra Array Dimensions</em>' attribute.
|
| * @see #getExtraArrayDimensions()
|
| * @generated
|
| */
|
| void setExtraArrayDimensions(int value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Initializer</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Initializer</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Initializer</em>' containment reference.
|
| * @see #setInitializer(Expression)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getVariableDeclaration_Initializer()
|
| * @model containment="true" ordered="false"
|
| * @generated
|
| */
|
| Expression getInitializer();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.VariableDeclaration#getInitializer <em>Initializer</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Initializer</em>' containment reference.
|
| * @see #getInitializer()
|
| * @generated
|
| */
|
| void setInitializer(Expression value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Usage In Variable Access</b></em>' reference list.
|
| * The list contents are of type {@link org.eclipse.modisco.java.SingleVariableAccess}.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.SingleVariableAccess#getVariable <em>Variable</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Usage In Variable Access</em>' reference list isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Usage In Variable Access</em>' reference list.
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getVariableDeclaration_UsageInVariableAccess()
|
| * @see org.eclipse.modisco.java.SingleVariableAccess#getVariable
|
| * @model opposite="variable" ordered="false"
|
| * @generated
|
| */
|
| EList<SingleVariableAccess> getUsageInVariableAccess();
|
|
|
| } // VariableDeclaration
|