org.metasyntactic.math.automata.event
Class ReduceEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.metasyntactic.math.automata.event.ReduceEvent
All Implemented Interfaces:
java.io.Serializable

public class ReduceEvent
extends java.util.EventObject

ReduceEvent is used to notify interested parties that a reduction took place while a LALR parse was taking place

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReduceEvent(java.lang.Object source, Production p, java.util.List tokens)
           
 
Method Summary
 Production getProduction()
           
 java.util.List getTokens()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReduceEvent

public ReduceEvent(java.lang.Object source,
                   Production p,
                   java.util.List tokens)
Method Detail

getProduction

public Production getProduction()

getTokens

public java.util.List getTokens()