COM.hugin.HAPI
Interface ExpressionParseListener

All Superinterfaces:
ParseListener

public interface ExpressionParseListener
extends ParseListener

An implementation of the ExpressionParseListener interface must used when one wants to parse Expressions, using the stringToExpression method of the Expression class. That is, you must implement your own parseError method.


Method Summary
 void parseError(int position, java.lang.String msg)
          In order to handle errors during the parsing of Expressions, an implementation of parseError is required.
 

Method Detail

parseError

public void parseError(int position,
                       java.lang.String msg)
In order to handle errors during the parsing of Expressions, an implementation of parseError is required.

Specified by:
parseError in interface ParseListener
Parameters:
position - the character position at which a parse error was encountered.
msg - the error message associated with the parse error.