CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
validate_expressions.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Validate expressions
4
5Author: Daniel Poetzl
6
7\*******************************************************************/
8
9#ifndef CPROVER_UTIL_VALIDATE_EXPRESSIONS_H
10#define CPROVER_UTIL_VALIDATE_EXPRESSIONS_H
11
12class exprt;
13class namespacet;
14enum class validation_modet;
15
16void check_expr(const exprt &expr, const validation_modet vm);
17
18void validate_expr(
19 const exprt &expr,
20 const namespacet &ns,
21 const validation_modet vm);
22
24 const exprt &expr,
25 const namespacet &ns,
26 const validation_modet vm);
27
28#endif /* CPROVER_UTIL_VALIDATE_EXPRESSIONS_H */
Base class for all expressions.
Definition expr.h:56
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
void check_expr(const exprt &expr, const validation_modet vm)
Check that the given expression is well-formed (shallow checks only, i.e., subexpressions and its typ...
void validate_full_expr(const exprt &expr, const namespacet &ns, const validation_modet vm)
Check that the given expression is well-formed (full check, including checks of all subexpressions an...
void validate_expr(const exprt &expr, const namespacet &ns, const validation_modet vm)
Check that the given expression is well-formed, assuming that its subexpression and type have already...
validation_modet