java.lang.Object
com.aquima.interactions.expressions.tsl.evaluator.Semantics

public class Semantics extends Object
The Semantics class is responsible for converting a TSL parse tree to a TSL node tree. During the conversion the expressions inside the TSL block will be parsed and validated.
Since:
5.0
Author:
O. Kerpershoek
  • Constructor Details

    • Semantics

      public Semantics(IExprParser parser, IDefinitionSource source, MessageReporter messages, String textId)
      Constructs a Semantics object with an expression parser and an object holding the various definitions for the current domain.
      Parameters:
      parser - Expression parser that should be used to parse the conditional elements in the TSL.
      source - Definitions for the objects of the current domain.
      messages - Message object for reporting problems.
      textId - ID for the text being parsed.
  • Method Details