fr.umlv.tatoo.cc.lexer.regex
Class EpsilonLeaf

java.lang.Object
  extended by fr.umlv.tatoo.cc.lexer.regex.Regex
      extended by fr.umlv.tatoo.cc.lexer.regex.EpsilonLeaf

public class EpsilonLeaf
extends Regex

Author:
jcervell The same instance of this class can be shared within one Regex

Nested Class Summary
 
Nested classes/interfaces inherited from class fr.umlv.tatoo.cc.lexer.regex.Regex
Regex.Visitor<P>
 
Constructor Summary
EpsilonLeaf()
           
 
Method Summary
<P> void
accept(Regex.Visitor<? super P> visitor, P param)
           
 Regex cloneRegex()
           
protected  void computeFollowPos(MultiMap<Leaf,Leaf> followPos)
           
 Set<Leaf> firstPos()
           
 Set<Leaf> lastPos()
           
 boolean nullable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EpsilonLeaf

public EpsilonLeaf()
Method Detail

nullable

public boolean nullable()
Specified by:
nullable in class Regex

cloneRegex

public Regex cloneRegex()
Specified by:
cloneRegex in class Regex

accept

public <P> void accept(Regex.Visitor<? super P> visitor,
                       P param)
Specified by:
accept in class Regex

firstPos

public Set<Leaf> firstPos()
Specified by:
firstPos in class Regex

lastPos

public Set<Leaf> lastPos()
Specified by:
lastPos in class Regex

toString

public String toString()
Overrides:
toString in class Object

computeFollowPos

protected void computeFollowPos(MultiMap<Leaf,Leaf> followPos)
Specified by:
computeFollowPos in class Regex