org.sablecc.sablecc.node
Class AOperationSet

java.lang.Object
  extended by org.sablecc.sablecc.node.Node
      extended by org.sablecc.sablecc.node.PSet
          extended by org.sablecc.sablecc.node.AOperationSet
All Implemented Interfaces:
java.lang.Cloneable, Switchable

public final class AOperationSet
extends PSet


Field Summary
private  PBinOp _binOp_
           
private  PBasic _left_
           
private  PBasic _right_
           
 
Constructor Summary
AOperationSet()
           
AOperationSet(PBasic _left_, PBinOp _binOp_, PBasic _right_)
           
 
Method Summary
 void apply(Switch sw)
           
 java.lang.Object clone()
           
 PBinOp getBinOp()
           
 PBasic getLeft()
           
 PBasic getRight()
           
(package private)  void removeChild(Node child)
           
(package private)  void replaceChild(Node oldChild, Node newChild)
           
 void setBinOp(PBinOp node)
           
 void setLeft(PBasic node)
           
 void setRight(PBasic node)
           
 java.lang.String toString()
           
 
Methods inherited from class org.sablecc.sablecc.node.Node
cloneList, cloneNode, parent, parent, replaceBy, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_left_

private PBasic _left_

_binOp_

private PBinOp _binOp_

_right_

private PBasic _right_
Constructor Detail

AOperationSet

public AOperationSet()

AOperationSet

public AOperationSet(PBasic _left_,
                     PBinOp _binOp_,
                     PBasic _right_)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in class Node

apply

public void apply(Switch sw)

getLeft

public PBasic getLeft()

setLeft

public void setLeft(PBasic node)

getBinOp

public PBinOp getBinOp()

setBinOp

public void setBinOp(PBinOp node)

getRight

public PBasic getRight()

setRight

public void setRight(PBasic node)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

removeChild

void removeChild(Node child)
Specified by:
removeChild in class Node

replaceChild

void replaceChild(Node oldChild,
                  Node newChild)
Specified by:
replaceChild in class Node