ER
Class RepeticionER

java.lang.Object
  extended by ER.ER
      extended by ER.RepeticionER

public class RepeticionER
extends ER

Clase para la implementacion de la operacion de repeticion en expresiones regulares

Version:
Revision 1.1.0, 17/03/07
Author:
Jesus Vilares ( jvilares@udc.es)

Field Summary
(package private)  ER erA
          Expresion regular repetida
 
Constructor Summary
RepeticionER(ER erA)
           
 
Method Summary
protected  AF toAF(Int freeId)
          Devuelve el automata finito asociado a la expresion regular repeticion.
 java.lang.String toString()
          Devuelve la representacion de la expresion regular en formato string
 
Methods inherited from class ER.ER
loadER, loadER, nextQ, saveER, saveER, toAF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

erA

ER erA
Expresion regular repetida

Constructor Detail

RepeticionER

public RepeticionER(ER erA)
Parameters:
erA - expresion regular a repetir
Method Detail

toString

public java.lang.String toString()
Devuelve la representacion de la expresion regular en formato string

Specified by:
toString in class ER
See Also:
Object.toString()

toAF

protected AF toAF(Int freeId)
           throws AF_Exception,
                  G_Exception
Devuelve el automata finito asociado a la expresion regular repeticion.

Specified by:
toAF in class ER
Parameters:
freeId - Primer identificador de estado libre.
Returns:
Automata finito asociado a la expresion regular.
Throws:
AF_Exception
G_Exception