|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
Public Member Functions | |
| __init__ (self, scope, name, next_id) | |
| bind (self, assign, variables) | |
| call (self, stmt) | |
| start (self) | |
Public Attributes | |
| scope = scope | |
| name = name | |
| str | selector = f"ESBMC_bound_sel_{next_id()}" |
| next_id = next_id | |
| list | methods = [] |
Protected Member Functions | |
| _select (self, number) | |
The rewrite of one name bound to methods at several sites of one scope.
| preprocessor.bound_method_dispatch._Dispatch.__init__ | ( | self, | |
| scope, | |||
| name, | |||
| next_id ) |
|
protected |
| preprocessor.bound_method_dispatch._Dispatch.bind | ( | self, | |
| assign, | |||
| variables ) |
The statements replacing `assign`: store its receiver, unless it is bound only by an import, a definition or a builtin, and select it. A `def` is renamed and selected after it.
| preprocessor.bound_method_dispatch._Dispatch.call | ( | self, | |
| stmt ) |
The if/elif replacing `stmt`, whose arm `n` calls the method of binding `n`.
| preprocessor.bound_method_dispatch._Dispatch.start | ( | self | ) |
Clear the selector at the start of the scope.
| preprocessor.bound_method_dispatch._Dispatch.methods = [] |
| preprocessor.bound_method_dispatch._Dispatch.name = name |
| preprocessor.bound_method_dispatch._Dispatch.next_id = next_id |
| preprocessor.bound_method_dispatch._Dispatch.scope = scope |
| str preprocessor.bound_method_dispatch._Dispatch.selector = f"ESBMC_bound_sel_{next_id()}" |