com.borland.jbuilder.jot
Interface JotBinaryExpression

All Superinterfaces:
JotExpression, JotMarker, JotOperation, JotSourceElement
All Known Subinterfaces:
JotAssignment

public interface JotBinaryExpression
extends JotExpression, JotOperation

This interface represents an expression that contains a binary operator. See Chapter 15 of the Java Language Specification for more information.


Method Summary
 JotExpression getLHS()
          Returns the expression that is to the left of the Binary operator
 java.lang.String getOperator()
          returns the String representation of the operator
 int getOperatorType()
          Returns the operator as an int that may be compared with values found in the interface com.borland.compiler.frontend.Constants
 JotExpression getRHS()
          Returns the expression that is to the right of the Binary operator
 
Methods inherited from interface com.borland.jbuilder.jot.JotExpression
getAssignment, getCondition, getMethodCall, getNew, getOperation, getValue, getVariable, isConstant, isNull
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 
Methods inherited from interface com.borland.jbuilder.jot.JotOperation
isBinaryOperation
 

Method Detail

getLHS

public JotExpression getLHS()
Returns the expression that is to the left of the Binary operator

getRHS

public JotExpression getRHS()
Returns the expression that is to the right of the Binary operator

getOperatorType

public int getOperatorType()
Returns the operator as an int that may be compared with values found in the interface com.borland.compiler.frontend.Constants

getOperator

public java.lang.String getOperator()
returns the String representation of the operator
Specified by:
getOperator in interface JotOperation