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

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

public class Leaf
extends Regex

Author:
julien One instance of this class MUST NOT be shared within one Regex

Constructor Summary
Leaf(CharacterSet intervalList)
           
 
Method Summary
 Regex cloneRegex()
           
protected  void computeFollowPos(MultiMap<Leaf,Leaf> followPos)
           
 Set<Leaf> firstPos()
           
 CharacterSet getLetters()
           
 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

Leaf

public Leaf(CharacterSet intervalList)
Method Detail

nullable

public boolean nullable()
Specified by:
nullable 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

getLetters

public CharacterSet getLetters()

toString

public String toString()
Overrides:
toString in class Object

cloneRegex

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

computeFollowPos

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