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

java.lang.Object
  extended by com.sun.tools.xjc.reader.gbind.Expression
Direct Known Subclasses:
Choice, Element, OneOrMore, Sequence

public abstract class Expression
extends Object

This builds content models.


Field Summary
static Expression EPSILON
          Expression that represents epsilon, the length-0 string.
 
Constructor Summary
Expression()
           
 
Method Summary
(package private) abstract  void buildDAG(ElementSet incoming)
          Builds up a DAG among Elements 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
 

Field Detail

EPSILON

public static final Expression EPSILON
Expression that represents epsilon, the length-0 string.

Constructor Detail

Expression

public Expression()
Method Detail

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 Elements in this expression.