blob: 24841b515df30311a2c3ba74f2d7a8d56d91db85 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2018 CEA LIST 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:
* E.D.Willink(CEA LIST) - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.codegen.cgmodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CG Let Exp</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A CGLetExp makes a shared expression available for multiple use in another expression.
* The sharred expression is defined as the initialaizer of a shared variable.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGLetExp#getInit <em>Init</em>}</li>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGLetExp#getIn <em>In</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGLetExp()
* @generated
*/
public interface CGLetExp extends CGValuedElement {
/**
* Returns the value of the '<em><b>Init</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Init</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Init</em>' containment reference.
* @see #setInit(CGVariable)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGLetExp_Init()
* @generated
*/
CGVariable getInit();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGLetExp#getInit <em>Init</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Init</em>' containment reference.
* @see #getInit()
* @generated
*/
void setInit(CGVariable value);
/**
* Returns the value of the '<em><b>In</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>In</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>In</em>' containment reference.
* @see #setIn(CGValuedElement)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGLetExp_In()
* @generated
*/
CGValuedElement getIn();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGLetExp#getIn <em>In</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>In</em>' containment reference.
* @see #getIn()
* @generated
*/
void setIn(CGValuedElement value);
} // CGLetExp