CBMC
convert_bool_literal.h File Reference

Statement List Language Conversion. More...

#include <string>
#include <util/std_expr.h>
+ Include dependency graph for convert_bool_literal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constant_exprt convert_bool_literal (const std::string &src)
 Converts a string into the corresponding 'Bool' expression. More...
 

Detailed Description

Statement List Language Conversion.

Definition in file convert_bool_literal.h.

Function Documentation

◆ convert_bool_literal()

constant_exprt convert_bool_literal ( const std::string &  src)

Converts a string into the corresponding 'Bool' expression.

Parameters
srcString returned by the parser.
Returns
Constant expression representing the boolean value.

Definition at line 19 of file convert_bool_literal.cpp.