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*
.
getInternal
public RegularExpression getInternal()
- Returns the
RegularExpression
this closure
'wraps'. Thus for a positive closure a_plus
(a+
), a_plus.getInternal()
would
return 'a
'.