Skip to content

Commit a24fce0

Browse files
author
Daniel Kroening
committed
use highlight
1 parent 195229a commit a24fce0

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

doc/html-manual/cprover-source.shtml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ The first method returns true if the a subtype node exists. is not
314314

315315
<pre><code class="c++">typet &amp;subtype();
316316
typest &amp;subtypes();
317-
</pre>
317+
</code></pre>
318318

319319
<p class="justified">
320320
The first method returns a reference to the 'subtype' node.
@@ -507,11 +507,10 @@ negations of integer constants are simplified.</li>
507507

508508
</ul>
509509

510-
<pre>
511-
bool sum(const exprt &amp;expr);
510+
<pre><code class="c++">bool sum(const exprt &amp;expr);
512511
bool mul(const exprt &amp;expr);
513512
bool subtract(const exprt &amp;expr);
514-
</pre>
513+
</code></pre>
515514

516515
<p class="justified">
517516
Expect the "this" object and the function argument to be constants of the
@@ -524,27 +523,27 @@ operation fails for some reason (e.g., the types are different),
524523

525524
<h5>Testing common expressions</h5>
526525

527-
<pre>
528-
bool is_constant() const;
529-
</pre>
526+
<pre><code class="c++">bool is_constant() const;
527+
</code></pre>
530528

531529
<p class="justified">
532530
Returns true if the expression label is "constant".
531+
</p>
533532

534-
<pre>
535-
bool is_boolean() const;
536-
</pre>
533+
<pre><code class="c++">bool is_boolean() const;
534+
</code></pre>
537535

538536
<p class="justified">
539537
Returns true if the label of the type is "bool".
540538

541-
<pre>
542-
bool is_false() const;
539+
<pre><code class="c++">bool is_false() const;
543540
bool is_true() const;
544-
</pre>
541+
</code></pre>
545542

546543
<p class="justified">
547-
The first function returns true if the expression is a boolean constant with value "false". The second function returns true for any boolean constant that is not of value "false".
544+
The first function returns true if the expression is a boolean constant with
545+
value "false". The second function returns true for any boolean constant
546+
that is not of value "false".
548547
</p>
549548

550549
<pre>
@@ -591,15 +590,15 @@ for edge access or other specialized behaviour:
591590
</tr>
592591

593592
<tr><td valign=top><code>binary_relation_exprt : predicate_exprt</code></td>
594-
<td>Convenience functions to create and manipulate binary expressions of type "bool". </td>
593+
<td>Convenience functions to create and manipulate binary expressions of type "bool".</td>
595594
</tr>
596595

597596
<tr><td valign=top><code>equality_exprt : binary_relation_exprt</code></td>
598-
<td>Convenience functions to create and manipulate equality expressions such as "a == b". </td>
597+
<td>Convenience functions to create and manipulate equality expressions such as "a == b".</td>
599598
</tr>
600599

601600
<tr><td valign=top><code>ieee_float_equal_exprt : binary_relation_exprt</code></td>
602-
<td>Convenience functions to create and manipulate equality expressions between floating-point numbers.
601+
<td>Convenience functions to create and manipulate equality expressions between floating-point numbers.
603602
</td>
604603
</tr>
605604

@@ -620,11 +619,11 @@ for edge access or other specialized behaviour:
620619
</tr>
621620

622621
<tr><td valign=top><code>address_of_exprt</code></td>
623-
<td>Representation of a C-style <code>\&a</code> address-of operation. Convenience function <code>object()</code> for accessing operand. </td>
622+
<td>Representation of a C-style <code>\&a</code> address-of operation. Convenience function <code>object()</code> for accessing operand.</td>
624623
</tr>
625624

626625
<tr><td valign=top><code>dereference_exprt</code></td>
627-
<td>Representation of a C-style <code>*a</code> pointer-dereference operation. Convenience function <code>object()</code> for accessing operand. </td>
626+
<td>Representation of a C-style <code>*a</code> pointer-dereference operation. Convenience function <code>object()</code> for accessing operand.</td>
628627
</tr>
629628

630629
<tr><td valign=top><code>if_exprt</code></td>

0 commit comments

Comments
 (0)