koala.dynamicjava.tree
Class BitOrAssignExpression

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Expression
          extended by koala.dynamicjava.tree.BinaryExpression
              extended by koala.dynamicjava.tree.AssignExpression
                  extended by koala.dynamicjava.tree.BitOrAssignExpression
All Implemented Interfaces:
SourceInfo.Wrapper, StatementExpression

public class BitOrAssignExpression
extends AssignExpression

This class represents the bit and assign expression nodes of the syntax tree

Version:
1.0 - 1999/04/25
Author:
Stephane Hillion

Constructor Summary
BitOrAssignExpression(Expression lexp, Expression rexp)
          Initializes the expression
BitOrAssignExpression(Expression lexp, Expression rexp, SourceInfo si)
          Initializes the expression
 
Method Summary
<T> T
acceptVisitor(Visitor<T> visitor)
          Allows a visitor to traverse the tree
 
Methods inherited from class koala.dynamicjava.tree.BinaryExpression
getLeftExpression, getRightExpression, setLeftExpression, setRightExpression, toString
 
Methods inherited from class koala.dynamicjava.tree.Node
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitOrAssignExpression

public BitOrAssignExpression(Expression lexp,
                             Expression rexp)
Initializes the expression

Parameters:
lexp - the LHS expression
rexp - the RHS expression
Throws:
java.lang.IllegalArgumentException - if lexp is null or rexp is null

BitOrAssignExpression

public BitOrAssignExpression(Expression lexp,
                             Expression rexp,
                             SourceInfo si)
Initializes the expression

Parameters:
lexp - the LHS expression
rexp - the RHS expression
Throws:
java.lang.IllegalArgumentException - if lexp is null or rexp is null
Method Detail

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