org.eclipse.ocl.utilities.ASTNode Maven / Gradle / Ivy
/**
*
*
* Copyright (c) 2006, 2007 IBM Corporation 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:
* IBM - Initial API and implementation
*
*
*
* $Id: ASTNode.java,v 1.6 2009/12/22 18:54:06 ewillink Exp $
*/
package org.eclipse.ocl.utilities;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'AST Node'.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.ocl.utilities.ASTNode#getStartPosition Start Position}
* - {@link org.eclipse.ocl.utilities.ASTNode#getEndPosition End Position}
*
*
*
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getASTNode()
* @model interface="true" abstract="true"
* @generated
*/
public interface ASTNode
extends EObject {
/**
* Returns the value of the 'Start Position' attribute.
* The default value is "-1"
.
*
*
* If the meaning of the 'Start Position' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Start Position' attribute.
* @see #setStartPosition(int)
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getASTNode_StartPosition()
* @model default="-1" transient="true"
* @generated
*/
int getStartPosition();
/**
* Sets the value of the '{@link org.eclipse.ocl.utilities.ASTNode#getStartPosition Start Position}' attribute.
*
*
* @param value the new value of the 'Start Position' attribute.
* @see #getStartPosition()
* @generated
*/
void setStartPosition(int value);
/**
* Returns the value of the 'End Position' attribute.
* The default value is "-1"
.
*
*
* If the meaning of the 'End Position' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'End Position' attribute.
* @see #setEndPosition(int)
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getASTNode_EndPosition()
* @model default="-1" transient="true"
* @generated
*/
int getEndPosition();
/**
* Sets the value of the '{@link org.eclipse.ocl.utilities.ASTNode#getEndPosition End Position}' attribute.
*
*
* @param value the new value of the 'End Position' attribute.
* @see #getEndPosition()
* @generated
*/
void setEndPosition(int value);
} // ASTNode