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

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

public class Star
extends Node

Author:
jcervell

Nested Class Summary
 
Nested classes/interfaces inherited from class fr.umlv.tatoo.cc.lexer.regex.Regex
Regex.Visitor<P>
 
Constructor Summary
Star(Regex child)
           
 
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 fr.umlv.tatoo.cc.lexer.regex.Node
isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Star

public Star(Regex child)
Method Detail

computeFollowPos

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

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

toString

public String toString()
Overrides:
toString in class Object

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