com.sun.tools.xjc.reader.gbind
Class Expression
java.lang.Object
com.sun.tools.xjc.reader.gbind.Expression
- Direct Known Subclasses:
- Choice, Element, OneOrMore, Sequence
public abstract class Expression
- extends Object
This builds content models.
Method Summary |
(package private) abstract void |
buildDAG(ElementSet incoming)
Builds up a DAG among Element s in this expression. |
(package private) abstract boolean |
isNullable()
True of \epsilon \in L(exp) |
(package private) abstract ElementSet |
lastSet()
Computes LAST(exp) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSILON
public static final Expression EPSILON
Expression
that represents epsilon, the length-0 string.
Expression
public Expression()
lastSet
abstract ElementSet lastSet()
- Computes LAST(exp)
isNullable
abstract boolean isNullable()
- True of \epsilon \in L(exp)
buildDAG
abstract void buildDAG(ElementSet incoming)
- Builds up a DAG among
Element
s in this expression.