com.togethersoft.openapi.sci
Interface SciAssignmentExpression


public interface SciAssignmentExpression
extends SciExpression

An assignment expression.

Contains getLValue and getRValue methods for getting expressions from both sides of an assignment operator.

For example, for this expression:


  someObject.someAttribute=anotherObject.anotherAttribute; 
getLValue and getRValue methods will return expressions for someObject.someAttribute and anotherObject.anotherAttribute respectively.

Author:
TogetherSoft

Method Summary
 SciExpressiongetLValue()
           Returns SciExpression for the left part of this assignment operation.
 SciExpressiongetRValue()
           Returns SciExpression for the right part of this assignment operation.

Methods inherited from interface com.togethersoft.openapi.sci.SciExpression
accept, getKind, getParent, getType, operands, visitReferences, visitReferences

Methods inherited from interface com.togethersoft.openapi.sci.SciObject
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty

Method Detail

getLValue

public SciExpression getLValue()
Returns SciExpression for the left part of this assignment operation.
Returns: SciExpression for the left part of this assignment operation

getRValue

public SciExpression getRValue()
Returns SciExpression for the right part of this assignment operation.
Returns: SciExpression for the right part of this assignment operation