CBMC
convert_bool_literal.cpp File Reference

Statement List Language Conversion. More...

#include "convert_bool_literal.h"
#include <algorithm>
#include <util/std_types.h>
#include <iterator>
+ Include dependency graph for convert_bool_literal.cpp:

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.cpp.

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.