org.eclipse.ocl.cst
Interface CSTNode

All Known Subinterfaces:
BooleanLiteralExpCS, CallExpCS, ClassifierContextDeclCS, CollectionLiteralExpCS, CollectionLiteralPartCS, CollectionRangeCS, CollectionTypeCS, ContextDeclCS, DefCS, DefExpressionCS, DerValueCS, 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, StringLiteralExpCS, TupleLiteralExpCS, TupleTypeCS, TypeCS, UnlimitedNaturalLiteralExpCS, VariableCS, VariableExpCS
All Known Implementing Classes:
BooleanLiteralExpCSImpl, CallExpCSImpl, ClassifierContextDeclCSImpl, CollectionLiteralExpCSImpl, CollectionLiteralPartCSImpl, CollectionRangeCSImpl, CollectionTypeCSImpl, ContextDeclCSImpl, CSTNodeImpl, DefCSImpl, DefExpressionCSImpl, DerValueCSImpl, 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, StringLiteralExpCSImpl, TupleLiteralExpCSImpl, TupleTypeCSImpl, TypeCSImpl, UnlimitedNaturalLiteralExpCSImpl, VariableCSImpl, VariableExpCSImpl

public interface CSTNode

A representation of the model object 'Node'.

The following features are supported:

See Also:
CSTPackage.getCSTNode()

Method Summary
 java.lang.Object getAst()
          Returns the value of the 'Ast' attribute
 int getEndOffset()
          Returns the value of the 'End Offset' attribute
 IToken getEndToken()
          Returns the value of the 'End Token' attribute
 int getStartOffset()
          Returns the value of the 'Start Offset' attribute
 IToken getStartToken()
          Returns the value of the 'Start Token' attribute
 void setAst(java.lang.Object value)
          Sets the value of the 'Ast' attribute
 void setEndOffset(int value)
          Sets the value of the 'End Offset' attribute
 void setEndToken(IToken value)
          Sets the value of the 'End Token' attribute
 void setStartOffset(int value)
          Sets the value of the 'Start Offset' attribute
 void setStartToken(IToken value)
          Sets the value of the 'Start Token' attribute
 

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

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(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

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(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

java.lang.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(java.lang.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.