edu.osu.ling.pep
Class ParserEvent
java.lang.Object
java.util.EventObject
edu.osu.ling.pep.ParserEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- EdgeEvent, ParseEvent, ParserOptionEvent
public abstract class ParserEvent
- extends EventObject
Abstract class for Earley parser
events.
- Version:
- $LastChangedRevision: 327 $
- Author:
- Scott Martin
- See Also:
EarleyParser
,
ParserListener
,
Serialized Form
Constructor Summary |
protected |
ParserEvent(EarleyParser earleyParser)
Creates an event generated by the specified parser. |
ParserEvent
protected ParserEvent(EarleyParser earleyParser)
- Creates an event generated by the specified parser.
- Parameters:
earleyParser
- The parser that generated this event.
getEarleyParser
public EarleyParser getEarleyParser()
- Gets the Earley parser that generated this event.
- Returns:
- The Earley parser that was specified when this event was created.
Pep API Documentation, Copyright © 2007
Scott Martin
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU
Free Documentation License, Version 1.3
or any later version published by the Free
Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the overview file.