diff --git a/alib2algo/src/regexp/transform/RegExpIterate.cpp b/alib2algo/src/regexp/transform/RegExpIterate.cpp index 0e17d994fd72b24bb07805ffedd5b3996710ac98..c22e877d2fa1b028889a36cd008bc52eabeecfbf 100644 --- a/alib2algo/src/regexp/transform/RegExpIterate.cpp +++ b/alib2algo/src/regexp/transform/RegExpIterate.cpp @@ -10,7 +10,16 @@ namespace regexp { -auto RegExpIterateFormalRegExpFormalRegExp = registration::AbstractRegister < RegExpIterate, regexp::FormalRegExp < >, const regexp::FormalRegExp < > & > ( RegExpIterate::iterate ); -auto RegExpIterateUnboundedRegExpUnboundedRegExp = registration::AbstractRegister < RegExpIterate, regexp::UnboundedRegExp < >, const regexp::UnboundedRegExp < > & > ( RegExpIterate::iterate ); +auto RegExpIterateFormalRegExpFormalRegExp = registration::AbstractRegister < RegExpIterate, regexp::FormalRegExp < >, const regexp::FormalRegExp < > & > ( RegExpIterate::iterate, "regexp" ).setDocumentation ( +"Implements iteration of regular expression.\n\ +\n\ +@param regexp the regexp to iterate\n\ +@return regexp describing @p regexp *" ); + +auto RegExpIterateUnboundedRegExpUnboundedRegExp = registration::AbstractRegister < RegExpIterate, regexp::UnboundedRegExp < >, const regexp::UnboundedRegExp < > & > ( RegExpIterate::iterate, "regexp" ).setDocumentation ( +"Implements iteration of regular expression.\n\ +\n\ +@param regexp the regexp to iterate\n\ +@return regexp describing @p regexp *" ); } /* namespace regexp */ diff --git a/alib2algo/src/regexp/transform/RegExpIterate.h b/alib2algo/src/regexp/transform/RegExpIterate.h index 9947ffc923fd4b00255953ef06d08f3f2e8c3621..81417983dcefbfcb1ceb760905a7efbb772640d9 100644 --- a/alib2algo/src/regexp/transform/RegExpIterate.h +++ b/alib2algo/src/regexp/transform/RegExpIterate.h @@ -33,10 +33,22 @@ public: */ template < class SymbolType > static regexp::FormalRegExp < SymbolType > iterate(const regexp::FormalRegExp < SymbolType > & regexp); + + /** + * \override + */ template < class SymbolType > static regexp::FormalRegExpStructure < SymbolType > iterate(const regexp::FormalRegExpStructure < SymbolType > & regexp); + + /** + * \override + */ template < class SymbolType > static regexp::UnboundedRegExp < SymbolType > iterate(const regexp::UnboundedRegExp < SymbolType > & regexp); + + /** + * \override + */ template < class SymbolType > static regexp::UnboundedRegExpStructure < SymbolType > iterate(const regexp::UnboundedRegExpStructure < SymbolType > & regexp); };