ppg.cmds
Class NewProdCmd

java.lang.Object
  extended by ppg.cmds.NewProdCmd
All Implemented Interfaces:
Command, Unparse

public class NewProdCmd
extends java.lang.Object
implements Command


Constructor Summary
NewProdCmd(Production p)
           
 
Method Summary
 Production getProduction()
           
 void unparse(CodeWriter cw)
          Write a human-readable representation of the parse tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewProdCmd

public NewProdCmd(Production p)
Method Detail

getProduction

public Production getProduction()

unparse

public void unparse(CodeWriter cw)
Description copied from interface: Unparse
Write a human-readable representation of the parse tree

Specified by:
unparse in interface Unparse