org.eclipse.ocl.cst.CSTNode Maven / Gradle / Ivy
/**
*
*
* Copyright (c) 2005, 2008 IBM Corporation, Zeligsoft Inc., 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
* Zeligsoft - Bug 243976
*
*
*
* $Id: CSTNode.java,v 1.5 2009/12/27 15:49:50 asanchez Exp $
*/
package org.eclipse.ocl.cst;
import lpg.runtime.IToken;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'Node'.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.ocl.cst.CSTNode#getStartOffset Start Offset}
* - {@link org.eclipse.ocl.cst.CSTNode#getEndOffset End Offset}
* - {@link org.eclipse.ocl.cst.CSTNode#getStartToken Start Token}
* - {@link org.eclipse.ocl.cst.CSTNode#getEndToken End Token}
* - {@link org.eclipse.ocl.cst.CSTNode#getAst Ast}
*
*
*
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode()
* @model abstract="true"
* @generated
*/
public interface CSTNode
extends EObject {
/**
* Returns the value of the 'Start Offset' attribute.
*
*
* If the meaning of the 'Start Offset' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Start Offset' attribute.
* @see #setStartOffset(int)
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode_StartOffset()
* @model
* @generated
*/
int getStartOffset();
/**
* Sets the value of the '{@link org.eclipse.ocl.cst.CSTNode#getStartOffset Start Offset}' attribute.
*
*
* @param value the new value of the 'Start Offset' attribute.
* @see #getStartOffset()
* @generated
*/
void setStartOffset(int value);
/**
* Returns the value of the 'End Offset' attribute.
*
*
* If the meaning of the 'End Offset' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'End Offset' attribute.
* @see #setEndOffset(int)
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode_EndOffset()
* @model
* @generated
*/
int getEndOffset();
/**
* Sets the value of the '{@link org.eclipse.ocl.cst.CSTNode#getEndOffset End Offset}' attribute.
*
*
* @param value the new value of the 'End Offset' attribute.
* @see #getEndOffset()
* @generated
*/
void setEndOffset(int value);
/**
* Returns the value of the 'Start Token' attribute.
*
*
* If the meaning of the 'Start Token' attribute isn't clear,
* there really should be more of a description here...
*
* @since 1.3
*
* @return the value of the 'Start Token' attribute.
* @see #setStartToken(IToken)
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode_StartToken()
* @model dataType="org.eclipse.ocl.cst.IToken" transient="true" ordered="false"
* @generated
*/
IToken getStartToken();
/**
* Sets the value of the '{@link org.eclipse.ocl.cst.CSTNode#getStartToken Start Token}' attribute.
*
* @since 1.3
*
* @param value the new value of the 'Start Token' attribute.
* @see #getStartToken()
* @generated
*/
void setStartToken(IToken value);
/**
* Returns the value of the 'End Token' attribute.
*
*
* If the meaning of the 'End Token' attribute isn't clear,
* there really should be more of a description here...
*
* @since 1.3
*
* @return the value of the 'End Token' attribute.
* @see #setEndToken(IToken)
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode_EndToken()
* @model dataType="org.eclipse.ocl.cst.IToken" transient="true" ordered="false"
* @generated
*/
IToken getEndToken();
/**
* Sets the value of the '{@link org.eclipse.ocl.cst.CSTNode#getEndToken End Token}' attribute.
*
* @since 1.3
*
* @param value the new value of the 'End Token' attribute.
* @see #getEndToken()
* @generated
*/
void setEndToken(IToken value);
/**
* Returns the value of the 'Ast' attribute.
*
*
* If the meaning of the 'Ast' attribute isn't clear,
* there really should be more of a description here...
*
* @since 1.3
*
* @return the value of the 'Ast' attribute.
* @see #setAst(Object)
* @see org.eclipse.ocl.cst.CSTPackage#getCSTNode_Ast()
* @model transient="true" ordered="false"
* @generated
*/
Object getAst();
/**
* Sets the value of the '{@link org.eclipse.ocl.cst.CSTNode#getAst Ast}' attribute.
*
* @since 1.3
*
* @param value the new value of the 'Ast' attribute.
* @see #getAst()
* @generated
*/
void setAst(Object value);
} // CSTNode