com.ibm.etools.cobol.application.model.cobol
Interface ComputeStmt

All Superinterfaces:
ArithStmt, ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Stmt

public interface ComputeStmt
extends ArithStmt

A representation of a COMPUTE statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getComputeStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getDestinations()
          Returns the value of the 'Destinations' containment reference list.
 Expr getExpr()
          Returns the value of the 'Expr' containment reference.
 boolean isEndComputeUsed()
          Returns the value of the 'End Compute Used' attribute.
 void setEndComputeUsed(boolean value)
          Sets the value of the 'End Compute Used' attribute.
 void setExpr(Expr value)
          Sets the value of the 'Expr' containment reference.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ArithStmt
getNotOnSizeError, getOnSizeError
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getDestinations

java.util.List getDestinations()
Returns the value of the 'Destinations' containment reference list. The list contents are of type ArithOperand.

The list contains the data items specified before the equals sign.

Returns:
the value of the 'Destinations' containment reference list.
See Also:
COBOLPackage.getComputeStmt_Destinations()

getExpr

Expr getExpr()
Returns the value of the 'Expr' containment reference.

The value is the expression specified after the equals sign.

Returns:
the value of the 'Expr' containment reference.
See Also:
setExpr(Expr), COBOLPackage.getComputeStmt_Expr()

setExpr

void setExpr(Expr value)
Sets the value of the 'Expr' containment reference.

Parameters:
value - the new value of the 'Expr' containment reference.
See Also:
getExpr()

isEndComputeUsed

boolean isEndComputeUsed()
Returns the value of the 'End Compute Used' attribute.

The value is true if END-COMPUTE is present; false otherwise.

Returns:
the value of the 'End Compute Used' attribute.
See Also:
setEndComputeUsed(boolean), COBOLPackage.getComputeStmt_EndComputeUsed()

setEndComputeUsed

void setEndComputeUsed(boolean value)
Sets the value of the 'End Compute Used' attribute.

Parameters:
value - the new value of the 'End Compute Used' attribute.
See Also:
isEndComputeUsed()