From 94828bc348c4aab0d91da6499c30b26c2ef8f8e2 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 11 Jan 2015 23:57:57 +0100 Subject: Silenced doxygen warnings --- src/core/model/Domain.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/core/model/Domain.hpp') diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp index c80d057..3a56e52 100644 --- a/src/core/model/Domain.hpp +++ b/src/core/model/Domain.hpp @@ -32,6 +32,7 @@ * in turn might contain two FieldDescriptors, one for the meta data of ones * book and one for the actual structure. Consider the following XML: * + * \code{.xml} * * * @@ -89,6 +90,7 @@ * * * + * \endcode * * Note that we define one field as the TREE (meaning the main or default * document structure) and one mearly as SUBTREE, relating to supporting @@ -101,6 +103,7 @@ * * The translation to context free grammars is as follows: * + * \code{.txt} * BOOK := BOOK_TREE * BOOK_TREE := CHAPTER BOOK_TREE | PARAGRAPH BOOK_TREE | epsilon * CHAPTER := CHAPTER_TREE @@ -112,6 +115,7 @@ * SUBSECTION_TREE := PARAGRAPH SUBSECTION_TREE | epsilon * PARAGRAPH := PARAGRAPH_CONTENT * PARAGRAPH_CONTENT := string + * \endcode * * Note that this translation recurs to further nonterminals like SECTION but * necessarily produces one "book" terminal. Also note that, in principle, @@ -122,6 +126,7 @@ * It is possible to add further fields, like we would in the "headings" domain * to add titles to our structure. * + * \code{.xml} * * * @@ -139,11 +144,14 @@ * * * + * \endcode * * This would change the context free grammar as follows: * + * \code{.txt} * BOOK := HEADING BOOK_TREE * HEADING := PARAGRAPH + * \endcode * * AnnotationClasses on the other hand do not specify a context free grammar. * They merely specify what kinds of Annotations are allowed within this domain @@ -151,6 +159,7 @@ * to define structured children that manifest e.g. meta information of that * Annotation. An example for that would be the "comment" domain: * + * \code{.xml} * * * @@ -183,6 +192,7 @@ * * * + * \endcode * * Here we have comment annotations, which have a reply tree as sub structure. * -- cgit v1.2.3