org.inxar.syntacs.grammar.regular
Interface PositiveClosure

All Superinterfaces:
Cloneable, RegularExpression
All Known Implementing Classes:
REPositiveClosure

public interface PositiveClosure
extends RegularExpression

The PositiveClosure interface is a 'utility' RegularExpression which makes it easier to build more complex concatenation::Kleene closure constructs like aa*. Therefore, a+ becomes aa*.


Method Summary
 RegularExpression getInternal()
          Returns the RegularExpression this closure 'wraps'.
 
Methods inherited from interface org.inxar.syntacs.grammar.regular.RegularExpression
clone, follow, getFirstSet, getLastSet, isNullable
 

Method Detail

getInternal

public RegularExpression getInternal()
Returns the RegularExpression this closure 'wraps'. Thus for a positive closure a_plus (a+), a_plus.getInternal() would return 'a'.