1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*!
A submodule that defines a HTML class container `ClassData`, that a `DocTree` holds on to.
If a `class` reST directive is encountered, the classes specified by it
are stored in the `ClassData` container. If a reST text element *other* than `class`
is ran into, the classes stored in the container are given to the node corresponding
to thetext element.
Copyright © 2020 Santtu Söderholm
*/
/// A container for HTML classes encountered in the reStructuredText document being parsed.