com.sun.tools.xjc.reader.gbind
Class OneOrMore

java.lang.Object
  extended by com.sun.tools.xjc.reader.gbind.Expression
      extended by com.sun.tools.xjc.reader.gbind.OneOrMore

public final class OneOrMore
extends Expression

Expression that represents kleene-star operation (A+)


Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.gbind.Expression
EPSILON
 
Constructor Summary
OneOrMore(Expression child)
           
 
Method Summary
(package private)  void buildDAG(ElementSet incoming)
          Builds up a DAG among Elements in this expression.
(package private)  boolean isNullable()
          True of \epsilon \in L(exp)
(package private)  ElementSet lastSet()
          Computes LAST(exp)
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneOrMore

public OneOrMore(Expression child)
Method Detail

lastSet

ElementSet lastSet()
Description copied from class: Expression
Computes LAST(exp)

Specified by:
lastSet in class Expression

isNullable

boolean isNullable()
Description copied from class: Expression
True of \epsilon \in L(exp)

Specified by:
isNullable in class Expression

buildDAG

void buildDAG(ElementSet incoming)
Description copied from class: Expression
Builds up a DAG among Elements in this expression.

Specified by:
buildDAG in class Expression

toString

public String toString()
Overrides:
toString in class Object