ppg.atoms
Class Nonterminal

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

public class Nonterminal
extends GrammarSymbol


Field Summary
 
Fields inherited from class ppg.atoms.GrammarSymbol
label, name
 
Constructor Summary
Nonterminal(java.lang.String name)
           
Nonterminal(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

Nonterminal

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

Nonterminal

public Nonterminal(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