org.eclipse.emf.ocl.utilities
Interface ASTNode

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AssociationClassCallExp, BagType, BooleanLiteralExp, CallExp, CallingASTNode, CollectionLiteralExp, CollectionType, EnumLiteralExp, FeatureCallExp, IfExp, IntegerLiteralExp, InvalidLiteralExp, IterateExp, IteratorExp, LetExp, LiteralExp, LoopExp, MessageExp, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OCLExpression, OperationCallExp, OrderedSetType, PrimitiveLiteralExp, PropertyCallExp, RealLiteralExp, SequenceType, SetType, StateExp, StringLiteralExp, TupleLiteralExp, TupleLiteralPart, TypedASTNode, TypeExp, UnspecifiedValueExp, Variable, VariableExp
All Known Implementing Classes:
AssociationClassCallExpImpl, BagTypeImpl, BooleanLiteralExpImpl, CallExpImpl, CollectionLiteralExpImpl, CollectionTypeImpl, EnumLiteralExpImpl, FeatureCallExpImpl, IfExpImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, IterateExpImpl, IteratorExpImpl, LetExpImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OCLExpressionImpl, OperationCallExpImpl, OrderedSetTypeImpl, PrimitiveLiteralExpImpl, PropertyCallExpImpl, RealLiteralExpImpl, SequenceTypeImpl, SetTypeImpl, StateExpImpl, StringLiteralExpImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TypeExpImpl, UnspecifiedValueExpImpl, VariableExpImpl, VariableImpl

public interface ASTNode
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'AST Node'.

The following features are supported:

See Also:
UtilitiesPackage.getASTNode()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 int getEndPosition()
          Returns the value of the 'End Position' attribute.
 int getStartPosition()
          Returns the value of the 'Start Position' attribute.
 void setEndPosition(int value)
          Sets the value of the 'End Position' attribute
 void setStartPosition(int value)
          Sets the value of the 'Start Position' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getStartPosition

public int getStartPosition()
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...

Returns:
the value of the 'Start Position' attribute.
See Also:
ASTNode.setStartPosition(int), UtilitiesPackage.getASTNode_StartPosition()

setStartPosition

public void setStartPosition(int value)
Sets the value of the 'Start Position' attribute.

Parameters:
value - the new value of the 'Start Position' attribute.
See Also:
ASTNode.getStartPosition()

getEndPosition

public int getEndPosition()
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...

Returns:
the value of the 'End Position' attribute.
See Also:
ASTNode.setEndPosition(int), UtilitiesPackage.getASTNode_EndPosition()

setEndPosition

public void setEndPosition(int value)
Sets the value of the 'End Position' attribute.

Parameters:
value - the new value of the 'End Position' attribute.
See Also:
ASTNode.getEndPosition()

Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.