ppg.atoms
Class Terminal

java.lang.Object
  extended by ppg.atoms.GrammarPart
      extended by ppg.atoms.GrammarSymbol
          extended by ppg.atoms.Terminal
All Implemented Interfaces:
Unparse, Equatable

public class Terminal
extends GrammarSymbol


Field Summary
 
Fields inherited from class ppg.atoms.GrammarSymbol
label, name
 
Constructor Summary
Terminal(java.lang.String name)
           
Terminal(java.lang.String name, java.lang.String label)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class ppg.atoms.GrammarSymbol
getName, toString, unparse
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Terminal

public Terminal(java.lang.String name,
                java.lang.String label)

Terminal

public Terminal(java.lang.String name)
Method Detail

clone

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

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface Equatable
Overrides:
equals in class java.lang.Object