ppg.cmds
Class DropCmd

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

public class DropCmd
extends java.lang.Object
implements Command


Constructor Summary
DropCmd(Production productions)
           
DropCmd(java.util.Vector<java.lang.String> symbols)
           
 
Method Summary
 Production getProduction()
           
 java.util.Vector<java.lang.String> getSymbols()
           
 boolean isProdDrop()
           
 boolean isSymbolDrop()
           
 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

DropCmd

public DropCmd(java.util.Vector<java.lang.String> symbols)

DropCmd

public DropCmd(Production productions)
Method Detail

isProdDrop

public boolean isProdDrop()

isSymbolDrop

public boolean isSymbolDrop()

getProduction

public Production getProduction()

getSymbols

public java.util.Vector<java.lang.String> getSymbols()

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