fr.umlv.tatoo.cc.lexer.regex
Class Leaf
java.lang.Object
fr.umlv.tatoo.cc.lexer.regex.Regex
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
Leaf
public Leaf(CharacterSet intervalList)
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