diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:10 +0300 |
commit | 1aeb9a455974457866f78722ad98114bafc84e8a (patch) | |
tree | e4340eaf1668684d83a0a58c36947c5def5350ad /contrib/libs/hyperscan/src/parser/ComponentRepeat.h | |
parent | bd5ef432f5cfb1e18851381329d94665a4c22470 (diff) | |
download | ydb-1aeb9a455974457866f78722ad98114bafc84e8a.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/parser/ComponentRepeat.h')
-rw-r--r-- | contrib/libs/hyperscan/src/parser/ComponentRepeat.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/libs/hyperscan/src/parser/ComponentRepeat.h b/contrib/libs/hyperscan/src/parser/ComponentRepeat.h index 8905bfcf5e..8565f1bb26 100644 --- a/contrib/libs/hyperscan/src/parser/ComponentRepeat.h +++ b/contrib/libs/hyperscan/src/parser/ComponentRepeat.h @@ -42,31 +42,31 @@ namespace ue2 { -/** - * \brief Encapsulates a repeat of a subexpression ('*', '+', '?', '{M,N}', +/** + * \brief Encapsulates a repeat of a subexpression ('*', '+', '?', '{M,N}', * etc). * - * ASCII Art Time: + * ASCII Art Time: * * Our standard representation of standard repeats. Other constructions (fan-in * vs fan-out) would also be possible and equivalent for our purposes. * * {n,m} * - * S->M->M->M->O->O->O->T - * | ^ ^ ^ - * | | | | - * \-----------/ + * S->M->M->M->O->O->O->T + * | ^ ^ ^ + * | | | | + * \-----------/ * * {0,m} * - * /-----------\ - * | | - * | V - * S->O->O->O->T - * | ^ ^ ^ - * | | | | - * \--------/ + * /-----------\ + * | | + * | V + * S->O->O->O->T + * | ^ ^ ^ + * | | | | + * \--------/ * */ class ComponentRepeat : public Component { @@ -121,7 +121,7 @@ public: protected: void postSubNotePositionHook(); - void wireRepeats(GlushkovBuildState &bs); + void wireRepeats(GlushkovBuildState &bs); std::unique_ptr<Component> sub_comp; u32 m_min; |