Skip to content

Commit 5b9ce2c

Browse files
committed
Change the wording to closer correspond to C++ types and concepts
1 parent bb77328 commit 5b9ce2c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/architectural/central-data-structures.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@ CBMC and the assorted CProver tools.
99
The `goto_modelt` is the main data structure that CBMC (and the other tools) use to
1010
represent GOTO-IR (the `GOTO` Intermediate Representation).
1111

12-
A `goto_modelt` is effectively a product type, consisting of:
12+
A `goto_modelt` is effectively a pair, consisting of:
1313

14-
* A list of GOTO functions (pseudocode: `type goto_functionst = list<goto_functiont>`)
15-
* A symbol table containing symbol references for the symbols contained in the
16-
GOTO functions (pseudocode: `type symbol_tablet = map<identifier, symbolt>`).
14+
* A list of GOTO functions,
15+
* A symbol table containing symbol references for the symbols contained in the GOTO functions.
16+
17+
In pseudocode, the type looks this:
18+
19+
```js
20+
type goto_modelt {
21+
type goto_functionst = list<goto_functiont>
22+
type symbol_tablet = map<identifier, symbolt>
23+
}
24+
```
1725

1826
The abstract interface of `goto_modelt` is outlined in the file
1927
[`src/goto-programs/abstract_goto_model.h`](../../src/goto-programs/abstract_goto_model.h).

0 commit comments

Comments
 (0)