Class TSLParseListener

java.lang.Object
com.aquima.interactions.expressions.tsl.evaluator.TSLParseListener
All Implemented Interfaces:
IParseListener

public final class TSLParseListener extends Object implements IParseListener
Parse listener that correct position information for errors reported in a TSL expression.
Since:
6.4
Author:
O. Kerpershoek
  • Constructor Details

    • TSLParseListener

      protected TSLParseListener(int offsetStart, IParseListener listener)
  • Method Details

    • report

      public void report(int startPosition, int endPosition, ErrorMessage message, Severity severity)
      Description copied from interface: IParseListener
      This method is invoked by the parser when a problem is detected during the parse of an expression.
      Specified by:
      report in interface IParseListener
      Parameters:
      startPosition - The start position in the expression where the warning was detected.
      endPosition - The end position in the expression of the part that generated the warning.
      message - Object containing the details of the warning that was detected.
      severity - The severity of the problem that was detected.