Interface LogicalExpressionMemberFactory.LogicalExpressionMember

All Known Implementing Classes:
ComparingExpressionParser, LogicalExpressionParser
Enclosing interface:
LogicalExpressionMemberFactory

public static interface LogicalExpressionMemberFactory.LogicalExpressionMember
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The method should understand true/false strings, if it is supposed to be used in more complicated expressions.
    Help for this parser
    boolean
    ParserNG have a habit, that expression is parsed in constructor, and later evaluated in methood.
  • Method Details

    • getHelp

      String getHelp()
      Help for this parser
    • evaluate

      boolean evaluate()
      The method should understand true/false strings, if it is supposed to be used in more complicated expressions.
      Returns:
      evaluated expression, usually parsed in constructor
    • isLogicalExpressionMember

      boolean isLogicalExpressionMember(String futureExpression)
      ParserNG have a habit, that expression is parsed in constructor, and later evaluated in methood. So this methid is takin parameter, of future expression, created over dummy example, so we know, whether it will be viable for future constructor.
      Parameters:
      futureExpression - future expression to be passed to constructor
      Returns:
      whether the expression is most likely targeted for this parser