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

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.Or

public class Or
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
Or(Regex left, Regex right)
           
 
Method Summary
<P> void
accept(Regex.Visitor<? super P> visitor, P param)
           
 Regex cloneRegex()
           
protected  void computeFollowPos(MultiMap<Leaf,Leaf> followPos)
           
 Set<Leaf> firstPos()
           
 Regex getLeft()
           
 Regex getRight()
           
 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

Or

public Or(Regex left,
          Regex right)
Method Detail

getLeft

public Regex getLeft()

getRight

public Regex getRight()

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