Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.gbind

public final Class OneOrMore

extends Expression
Class Inheritance

Expression that represents kleene-star operation (A+)
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Expression
child

'A' of 'A+'.

Inherited from com.sun.tools.xjc.reader.gbind.Expression:
EPSILON

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
buildDAG(ElementSet incoming)

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.buildDAG.

Builds up a DAG among Elements in this expression.

pack-priv boolean
isNullable()

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.isNullable.

True of \epsilon \in L(exp)

pack-priv ElementSet
lastSet()

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.lastSet.

Computes LAST(exp)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

childback to summary
private final Expression child

'A' of 'A+'.

Constructor Detail

OneOrMoreback to summary
public OneOrMore(Expression child)

Method Detail

buildDAGback to summary
pack-priv void buildDAG(ElementSet incoming)

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.buildDAG.

Doc from com.sun.tools.xjc.reader.gbind.Expression.buildDAG.

Builds up a DAG among Elements in this expression.

Annotations
@Override
isNullableback to summary
pack-priv boolean isNullable()

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.isNullable.

Doc from com.sun.tools.xjc.reader.gbind.Expression.isNullable.

True of \epsilon \in L(exp)

Annotations
@Override
lastSetback to summary
pack-priv ElementSet lastSet()

Implements abstract com.sun.tools.xjc.reader.gbind.Expression.lastSet.

Doc from com.sun.tools.xjc.reader.gbind.Expression.lastSet.

Computes LAST(exp)

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override