Class RegularExpressionParser.Expression

java.lang.Object
org.jacop.util.fsm.RegularExpressionParser.Expression
Direct Known Subclasses:
RegularExpressionParser.Concatination, RegularExpressionParser.Literal, RegularExpressionParser.Star, RegularExpressionParser.Sum
Enclosing class:
RegularExpressionParser

public abstract class RegularExpressionParser.Expression extends Object
It creates an abstract class expression which specifies basic methods of the expression.
  • Constructor Details

    • Expression

      public Expression()
  • Method Details

    • getType

      abstract int getType()
      Returns:
      type
    • isSimple

      public boolean isSimple()
      It specifies if the expression is simple.
      Returns:
      true if expression is a literal or disjunction of literals.
    • parseToFSM

      public abstract FSM parseToFSM()
      It creates Finite State Machine from the expression.
      Returns:
      Finite State Machine corresponding