jpicedt.format.input.util
Class ParserEvent
java.lang.Object
jpicedt.format.input.util.ParserEvent
public class ParserEvent
- extends java.lang.Object
An event that gets sent as an argument of the "action" method during an interpret operation
- Since:
- jpicedt 1.3
- Version:
- $Id: ParserEvent.java,v 1.5.2.1 2007/09/02 11:56:14 reynal Exp $
- Author:
- Sylvain Reynal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParserEvent
public ParserEvent(AbstractRegularExpression source,
Context context,
boolean parsingSuccessful,
java.lang.Object value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSource
public AbstractRegularExpression getSource()
- Returns:
- the Expression that sourced this event
getContext
public Context getContext()
- Returns:
- the Context that is attached to current the parsing operation
isSuccessful
public boolean isSuccessful()
- Returns:
- TRUE if this event was emitted as a result of a successful operation
getValue
public java.lang.Object getValue()
- Returns:
- a value that generally identifies the result of the parsing operation, such as : number, word, ...
Submit a bug : syd@jpicedt.org