7
7
----------
8
8
9
9
* In Ada, a Class denotes an inheritance subtree
10
- * Class of `Root ` is the class of `Root ` and all its children
11
- * Type :ada: `Root'Class ` can designate any object typed after type of class of `Root `
10
+ * Class of :ada: `Root ` is the class of :ada: `Root ` and all its children
11
+ * Type :ada: `Root'Class ` can designate any object typed after type of class of :ada: `Root `
12
12
13
13
.. code :: Ada
14
14
@@ -21,10 +21,10 @@ Classes
21
21
-- Child2'Class = {Child2}
22
22
-- Grand_Child1'Class = {Grand_Child1}
23
23
24
- * Objects of type :ada: `Root'Class ` have at least the properties of `Root `
24
+ * Objects of type :ada: `Root'Class ` have at least the properties of :ada: `Root `
25
25
26
- - Components of `Root `
27
- - Primitives of `Root `
26
+ - Components of :ada: `Root `
27
+ - Primitives of :ada: `Root `
28
28
29
29
-----------------
30
30
Indefinite Type
@@ -62,7 +62,7 @@ Testing the Type of an Object
62
62
-------------------------------
63
63
64
64
* The tag of an object denotes its type
65
- * It can be accessed through the `'Tag ` attribute
65
+ * It can be accessed through the :ada: `'Tag ` attribute
66
66
* Applies to both objects and types
67
67
* Membership operator is available to check the type against a hierarchy
68
68
@@ -139,7 +139,7 @@ Abstract Types Ada Vs C++
139
139
Relation to Primitives
140
140
------------------------
141
141
142
- Warning: Subprograms with parameter of type `Root'Class ` are not primitives of `Root `
142
+ .. warning :: Subprograms with parameter of type :ada: `Root'Class` are not primitives of :ada: `Root`
143
143
144
144
.. code :: Ada
145
145
0 commit comments