Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sablecc.sablecc.node
Class Alt1  view Alt1 download Alt1.java

java.lang.Object
  extended byorg.sablecc.sablecc.node.Node
      extended byorg.sablecc.sablecc.node.Alt
          extended byorg.sablecc.sablecc.node.Alt1
All Implemented Interfaces:
org.sablecc.sablecc.Switchable

public final class Alt1
extends Alt


Field Summary
private  AltNameOpt node1
           
private  Elems node2
           
 
Fields inherited from class org.sablecc.sablecc.node.Node
 
Constructor Summary
Alt1()
           
 
Method Summary
 void apply(org.sablecc.sablecc.Switch sw)
           
 AltNameOpt getNode1()
           
 Elems getNode2()
           
(package private)  void removeChild(Node child)
           
 void setNode1(AltNameOpt node)
           
 void setNode2(Elems node)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class org.sablecc.sablecc.node.Node
getId, getIn, getOut, getParent, setIn, setOut, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node1

private AltNameOpt node1

node2

private Elems node2
Constructor Detail

Alt1

public Alt1()
Method Detail

apply

public void apply(org.sablecc.sablecc.Switch sw)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getNode1

public AltNameOpt getNode1()

setNode1

public void setNode1(AltNameOpt node)

getNode2

public Elems getNode2()

setNode2

public void setNode2(Elems node)

removeChild

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