|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.Expression
koala.dynamicjava.tree.BinaryExpression
This class represents the binary expression nodes of the syntax tree
Field Summary | |
static java.lang.String |
LEFT_EXPRESSION
The leftExpression property name |
static java.lang.String |
RIGHT_EXPRESSION
The rightExpression property name |
Fields inherited from class koala.dynamicjava.tree.Node |
BEGIN_COLUMN, BEGIN_LINE, END_COLUMN, END_LINE, FILENAME |
Constructor Summary | |
protected |
BinaryExpression(Expression lexp,
Expression rexp,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Initializes the expression |
Method Summary | |
Expression |
getLeftExpression()
Returns the left hand side expression |
Expression |
getRightExpression()
Returns the right hand side expression |
void |
setLeftExpression(Expression exp)
Sets the left hand side expression |
void |
setRightExpression(Expression exp)
Sets the right hand side expression |
Methods inherited from class koala.dynamicjava.tree.Node |
acceptVisitor, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getProperties, getProperty, hasProperty, removePropertyChangeListener, removePropertyChangeListener, setBeginColumn, setBeginLine, setEndColumn, setEndLine, setFilename, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LEFT_EXPRESSION
public static final java.lang.String RIGHT_EXPRESSION
Constructor Detail |
protected BinaryExpression(Expression lexp, Expression rexp, java.lang.String fn, int bl, int bc, int el, int ec)
lexp
- the LHS expressionrexp
- the RHS expressionfn
- the filenamebl
- the begin linebc
- the begin columnel
- the end lineec
- the end column
java.lang.IllegalArgumentException
- if lexp is null or rexp is nullMethod Detail |
public Expression getLeftExpression()
public void setLeftExpression(Expression exp)
java.lang.IllegalArgumentException
- if exp is nullpublic Expression getRightExpression()
public void setRightExpression(Expression exp)
java.lang.IllegalArgumentException
- if exp is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |