org.sablecc.sablecc.node
Class AAlts

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

public final class AAlts
extends PAlts


Nested Class Summary
private  class AAlts.Alts_Cast
           
 
Field Summary
private  PAlt _alt_
           
private  java.util.LinkedList _alts_
           
 
Constructor Summary
AAlts()
           
AAlts(PAlt _alt_, java.util.List _alts_)
           
AAlts(PAlt _alt_, XPAltsTail _alts_)
           
 
Method Summary
 void apply(Switch sw)
           
 java.lang.Object clone()
           
 PAlt getAlt()
           
 java.util.LinkedList getAlts()
           
(package private)  void removeChild(Node child)
           
(package private)  void replaceChild(Node oldChild, Node newChild)
           
 void setAlt(PAlt node)
           
 void setAlts(java.util.List list)
           
 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

_alt_

private PAlt _alt_

_alts_

private final java.util.LinkedList _alts_
Constructor Detail

AAlts

public AAlts()

AAlts

public AAlts(PAlt _alt_,
             java.util.List _alts_)

AAlts

public AAlts(PAlt _alt_,
             XPAltsTail _alts_)
Method Detail

clone

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

apply

public void apply(Switch sw)

getAlt

public PAlt getAlt()

setAlt

public void setAlt(PAlt node)

getAlts

public java.util.LinkedList getAlts()

setAlts

public void setAlts(java.util.List list)

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