File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/solvers/smt2_incremental Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,13 @@ class smt2_incremental_decision_proceduret final
138
138
// / array expressions when support for them is implemented.
139
139
std::unordered_map<exprt, smt_identifier_termt, irep_hash>
140
140
expression_identifiers;
141
+ // / This maps from the unsorted/untyped string/symbol for the identifiers
142
+ // / which we have declared in SMT solver to the corresponding sorted/typed
143
+ // / `smt_identifier_termt`. This enables type checking the parse trees of
144
+ // / responses received back from the solver. It is required because without
145
+ // / the definitive sorts we would need to attempt to infer the sorts of
146
+ // / identifiers from the surrounding terms which would be a looser check with
147
+ // / a more complex implementation.
141
148
std::unordered_map<irep_idt, smt_identifier_termt> identifier_table;
142
149
// / This map is used to track object related state. See documentation in
143
150
// / object_tracking.h for details.
You can’t perform that action at this time.
0 commit comments