public abstract class AbstractRegularExpression extends java.lang.Object implements ExpressionConstants
action
method).
A Context
is then used to feed successive pieces of text to the set of reg-exp's that build up
the grammar tree,
and a Pool
allow reg-exp's to
share data across the whole grammar tree.ANY_CHAR, ANY_CHAR_EOL, ANY_SIGN, AT_LEAST, AT_MOST, DEBUG, DOUBLE, EOL, EXACTLY, INTEGER, NEGATIVE, NON_NULL, POSITIVE, STRICTLY_NEGATIVE, STRICTLY_POSITIVE, WHITE_SPACES, WHITE_SPACES_OR_EOL
Constructor and Description |
---|
AbstractRegularExpression() |
Modifier and Type | Method and Description |
---|---|
void |
action(ParserEvent e)
Called in the course of the interpret operation at the end of a SUCCESSFUL interpret operation.
|
abstract boolean |
interpret(Context c)
Parses this expression, possibly using the given Context to fetch the String to interpret
if this Expression is a leaf expression.
|
public abstract boolean interpret(Context c) throws REParserException
REParserException
- if an error occur during parsingpublic void action(ParserEvent e) throws REParserException
REParserException
Submit a bug : syd@jpicedt.org