JaCoP.util.fsm
Class RegularExpressionParser.Expression

java.lang.Object
  extended by JaCoP.util.fsm.RegularExpressionParser.Expression
Direct Known Subclasses:
RegularExpressionParser.Literal
Enclosing class:
RegularExpressionParser

public abstract class RegularExpressionParser.Expression
extends java.lang.Object

It creates an abstract class expression which specifies basic methods of the expression.


Constructor Summary
RegularExpressionParser.Expression()
           
 
Method Summary
 boolean isSimple()
          It specifies if the expression is simple.
abstract  FSM parseToFSM()
          It creates Finite State Machine from the expression.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegularExpressionParser.Expression

public RegularExpressionParser.Expression()
Method Detail

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