From dbc544ad8e1c617e03d35ba873854aa976a503ea Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Tue, 19 Jun 2018 10:35:53 +0200
Subject: [PATCH] tiny additions to the visitor use documentation

---
 alib2data/src/regexp/formal/FormalRegExpElement.h       | 4 ++--
 alib2data/src/regexp/unbounded/UnboundedRegExpElement.h | 4 ++--
 alib2data/src/rte/formal/FormalRTEElement.h             | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/alib2data/src/regexp/formal/FormalRegExpElement.h b/alib2data/src/regexp/formal/FormalRegExpElement.h
index a6a1651783..5d75d6b4fb 100644
--- a/alib2data/src/regexp/formal/FormalRegExpElement.h
+++ b/alib2data/src/regexp/formal/FormalRegExpElement.h
@@ -64,7 +64,7 @@ template < class SymbolType >
 class FormalRegExpElement : public base::CommonBaseMiddle < FormalRegExpElement < SymbolType > >, public ext::BaseNode < FormalRegExpElement < SymbolType > > {
 protected:
 	/**
-	 * Visitor interface of the element
+	 * Visitor interface of the element.
 	 */
 	class Visitor {
 	public:
@@ -135,7 +135,7 @@ protected:
 	};
 
 	/**
-	 * \brief Accept method of the visitor pattern
+	 * \brief Accept method of the visitor pattern. This is where the actual type of this object is evaluated.
 	 *
 	 * \param visitor the accepted visitor.
 	 */
diff --git a/alib2data/src/regexp/unbounded/UnboundedRegExpElement.h b/alib2data/src/regexp/unbounded/UnboundedRegExpElement.h
index d228a14201..6222af025e 100644
--- a/alib2data/src/regexp/unbounded/UnboundedRegExpElement.h
+++ b/alib2data/src/regexp/unbounded/UnboundedRegExpElement.h
@@ -64,7 +64,7 @@ template < class SymbolType >
 class UnboundedRegExpElement : public base::CommonBaseMiddle < UnboundedRegExpElement < SymbolType > >, public ext::BaseNode < UnboundedRegExpElement < SymbolType > > {
 protected:
 	/**
-	 * Visitor interface of the element
+	 * Visitor interface of the element.
 	 */
 	class Visitor {
 	public:
@@ -135,7 +135,7 @@ protected:
 	};
 
 	/**
-	 * \brief Accept method of the visitor pattern
+	 * \brief Accept method of the visitor pattern. This is where the actual type of this object is evaluated.
 	 *
 	 * \param visitor the accepted visitor.
 	 */
diff --git a/alib2data/src/rte/formal/FormalRTEElement.h b/alib2data/src/rte/formal/FormalRTEElement.h
index 53d8e6a353..1ea15ca949 100644
--- a/alib2data/src/rte/formal/FormalRTEElement.h
+++ b/alib2data/src/rte/formal/FormalRTEElement.h
@@ -57,7 +57,7 @@ template < class SymbolType, class RankType >
 class FormalRTEElement : public base::CommonBase < FormalRTEElement < SymbolType, RankType > >, public ext::BaseNode < FormalRTEElement < SymbolType, RankType > > {
 protected:
 	/**
-	 * Visitor interface of the element
+	 * Visitor interface of the element.
 	 */
 	class Visitor {
 	public:
@@ -128,7 +128,7 @@ protected:
 	};
 
 	/**
-	 * \brief Accept method of the visitor pattern
+	 * \brief Accept method of the visitor pattern. This is where the actual type of this object is evaluated.
 	 *
 	 * \param visitor the accepted visitor.
 	 */
-- 
GitLab