org.sablecc.sablecc.node
Class AElem

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

public final class AElem
extends PElem


Field Summary
private  TId _elemName_
           
private  TId _id_
           
private  PSpecifier _specifier_
           
private  PUnOp _unOp_
           
 
Constructor Summary
AElem()
           
AElem(TId _elemName_, PSpecifier _specifier_, TId _id_, PUnOp _unOp_)
           
 
Method Summary
 void apply(Switch sw)
           
 java.lang.Object clone()
           
 TId getElemName()
           
 TId getId()
           
 PSpecifier getSpecifier()
           
 PUnOp getUnOp()
           
(package private)  void removeChild(Node child)
           
(package private)  void replaceChild(Node oldChild, Node newChild)
           
 void setElemName(TId node)
           
 void setId(TId node)
           
 void setSpecifier(PSpecifier node)
           
 void setUnOp(PUnOp 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

_elemName_

private TId _elemName_

_specifier_

private PSpecifier _specifier_

_id_

private TId _id_

_unOp_

private PUnOp _unOp_
Constructor Detail

AElem

public AElem()

AElem

public AElem(TId _elemName_,
             PSpecifier _specifier_,
             TId _id_,
             PUnOp _unOp_)
Method Detail

clone

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

apply

public void apply(Switch sw)

getElemName

public TId getElemName()

setElemName

public void setElemName(TId node)

getSpecifier

public PSpecifier getSpecifier()

setSpecifier

public void setSpecifier(PSpecifier node)

getId

public TId getId()

setId

public void setId(TId node)

getUnOp

public PUnOp getUnOp()

setUnOp

public void setUnOp(PUnOp 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