org.eclipse.ocl.cst
Interface CSTNode

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
BooleanLiteralExpCS, CallExpCS, ClassifierContextDeclCS, CollectionLiteralExpCS, CollectionLiteralPartCS, CollectionRangeCS, CollectionTypeCS, ContextDeclCS, DefCS, DefExpressionCS, DerValueCS, EnumLiteralExpCS, FeatureCallExpCS, IfExpCS, InitOrDerValueCS, InitValueCS, IntegerLiteralExpCS, InvalidLiteralExpCS, InvCS, InvOrDefCS, IsMarkedPreCS, IterateExpCS, IteratorExpCS, LetExpCS, LiteralExpCS, LoopExpCS, MessageExpCS, NullLiteralExpCS, OCLDocumentCS, OCLExpressionCS, OCLMessageArgCS, OperationCallExpCS, OperationContextDeclCS, OperationCS, PackageDeclarationCS, PathNameCS, PrePostOrBodyDeclCS, PrimitiveLiteralExpCS, PrimitiveTypeCS, PropertyContextCS, RealLiteralExpCS, SimpleNameCS, StateExpCS, StringLiteralExpCS, TupleLiteralExpCS, TupleTypeCS, TypeCS, UnlimitedNaturalLiteralExpCS, VariableCS, VariableExpCS
All Known Implementing Classes:
BooleanLiteralExpCSImpl, CallExpCSImpl, ClassifierContextDeclCSImpl, CollectionLiteralExpCSImpl, CollectionLiteralPartCSImpl, CollectionRangeCSImpl, CollectionTypeCSImpl, ContextDeclCSImpl, CSTNodeImpl, DefCSImpl, DefExpressionCSImpl, DerValueCSImpl, EnumLiteralExpCSImpl, FeatureCallExpCSImpl, IfExpCSImpl, InitOrDerValueCSImpl, InitValueCSImpl, IntegerLiteralExpCSImpl, InvalidLiteralExpCSImpl, InvCSImpl, InvOrDefCSImpl, IsMarkedPreCSImpl, IterateExpCSImpl, IteratorExpCSImpl, LetExpCSImpl, LiteralExpCSImpl, LoopExpCSImpl, MessageExpCSImpl, NullLiteralExpCSImpl, OCLDocumentCSImpl, OCLExpressionCSImpl, OCLMessageArgCSImpl, OperationCallExpCSImpl, OperationContextDeclCSImpl, OperationCSImpl, PackageDeclarationCSImpl, PathNameCSImpl, PrePostOrBodyDeclCSImpl, PrimitiveLiteralExpCSImpl, PrimitiveTypeCSImpl, PropertyContextCSImpl, RealLiteralExpCSImpl, SimpleNameCSImpl, StateExpCSImpl, StringLiteralExpCSImpl, TupleLiteralExpCSImpl, TupleTypeCSImpl, TypeCSImpl, UnlimitedNaturalLiteralExpCSImpl, VariableCSImpl, VariableExpCSImpl

public interface CSTNode
extends EObject

A representation of the model object 'Node'.

The following features are supported:

See Also:
CSTPackage.getCSTNode()

Method Summary
 Object getAst()
          Returns the value of the 'Ast' attribute
 int getEndOffset()
          Returns the value of the 'End Offset' attribute
 lpg.lpgjavaruntime.IToken getEndToken()
          Returns the value of the 'End Token' attribute
 int getStartOffset()
          Returns the value of the 'Start Offset' attribute
 lpg.lpgjavaruntime.IToken getStartToken()
          Returns the value of the 'Start Token' attribute
 void setAst(Object value)
          Sets the value of the 'Ast' attribute
 void setEndOffset(int value)
          Sets the value of the 'End Offset' attribute
 void setEndToken(lpg.lpgjavaruntime.IToken value)
          Sets the value of the 'End Token' attribute
 void setStartOffset(int value)
          Sets the value of the 'Start Offset' attribute
 void setStartToken(lpg.lpgjavaruntime.IToken value)
          Sets the value of the 'Start Token' 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
 

Method Detail

getStartOffset

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

Returns:
the value of the 'Start Offset' attribute.
See Also:
setStartOffset(int), CSTPackage.getCSTNode_StartOffset()

setStartOffset

void setStartOffset(int value)
Sets the value of the 'Start Offset' attribute.

Parameters:
value - the new value of the 'Start Offset' attribute.
See Also:
getStartOffset()

getEndOffset

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

Returns:
the value of the 'End Offset' attribute.
See Also:
setEndOffset(int), CSTPackage.getCSTNode_EndOffset()

setEndOffset

void setEndOffset(int value)
Sets the value of the 'End Offset' attribute.

Parameters:
value - the new value of the 'End Offset' attribute.
See Also:
getEndOffset()

getStartToken

lpg.lpgjavaruntime.IToken getStartToken()
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...

Returns:
the value of the 'Start Token' attribute.
Since:
1.3
See Also:
setStartToken(IToken), CSTPackage.getCSTNode_StartToken()

setStartToken

void setStartToken(lpg.lpgjavaruntime.IToken value)
Sets the value of the 'Start Token' attribute.

Parameters:
value - the new value of the 'Start Token' attribute.
Since:
1.3
See Also:
getStartToken()

getEndToken

lpg.lpgjavaruntime.IToken getEndToken()
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...

Returns:
the value of the 'End Token' attribute.
Since:
1.3
See Also:
setEndToken(IToken), CSTPackage.getCSTNode_EndToken()

setEndToken

void setEndToken(lpg.lpgjavaruntime.IToken value)
Sets the value of the 'End Token' attribute.

Parameters:
value - the new value of the 'End Token' attribute.
Since:
1.3
See Also:
getEndToken()

getAst

Object getAst()
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...

Returns:
the value of the 'Ast' attribute.
Since:
1.3
See Also:
setAst(Object), CSTPackage.getCSTNode_Ast()

setAst

void setAst(Object value)
Sets the value of the 'Ast' attribute.

Parameters:
value - the new value of the 'Ast' attribute.
Since:
1.3
See Also:
getAst()

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