Package org.jacop.util.fsm
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
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
It creates Finite State Machine from the expression.- Returns:
- Finite State Machine corresponding
-