koala.dynamicjava.tree
Class ShiftRightAssignExpression
java.lang.Object
koala.dynamicjava.tree.Node
koala.dynamicjava.tree.Expression
koala.dynamicjava.tree.BinaryExpression
koala.dynamicjava.tree.AssignExpression
koala.dynamicjava.tree.ShiftRightAssignExpression
- All Implemented Interfaces:
- SourceInfo.Wrapper, StatementExpression
public class ShiftRightAssignExpression
- extends AssignExpression
This class represents the shift right assign expression nodes of the syntax tree
- Version:
- 1.0 - 1999/04/25
- Author:
- Stephane Hillion
ShiftRightAssignExpression
public ShiftRightAssignExpression(Expression lexp,
Expression rexp)
- Initializes the expression
- Parameters:
lexp - the LHS expressionrexp - the RHS expression
- Throws:
IllegalArgumentException - if lexp is null or rexp is null
ShiftRightAssignExpression
public ShiftRightAssignExpression(Expression lexp,
Expression rexp,
SourceInfo si)
- Initializes the expression
- Parameters:
lexp - the LHS expressionrexp - the RHS expression
- Throws:
IllegalArgumentException - if lexp is null or rexp is null
acceptVisitor
public <T> T acceptVisitor(Visitor<T> visitor)
- Allows a visitor to traverse the tree
- Specified by:
acceptVisitor in class Node
- Parameters:
visitor - the visitor to accept