CBMC
cbmc_languages.cpp
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Language Registration
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
11
12
#include "
cbmc_parse_options.h
"
13
14
#include <
langapi/mode.h
>
15
16
#include <
ansi-c/ansi_c_language.h
>
17
#include <
cpp/cpp_language.h
>
18
#include <
json-symtab-language/json_symtab_language.h
>
19
#include <
statement-list/statement_list_language.h
>
20
21
void
cbmc_parse_optionst::register_languages
()
22
{
23
register_language
(
new_ansi_c_language
);
24
register_language
(
new_statement_list_language
);
25
register_language
(
new_cpp_language
);
26
register_language
(
new_json_symtab_language
);
27
}
new_ansi_c_language
std::unique_ptr< languaget > new_ansi_c_language()
Definition:
ansi_c_language.cpp:152
ansi_c_language.h
cbmc_parse_options.h
CBMC Command Line Option Processing.
cbmc_parse_optionst::register_languages
void register_languages() override
Definition:
cbmc_languages.cpp:21
new_cpp_language
std::unique_ptr< languaget > new_cpp_language()
Definition:
cpp_language.cpp:197
cpp_language.h
C++ Language Module.
json_symtab_language.h
new_json_symtab_language
std::unique_ptr< languaget > new_json_symtab_language()
Definition:
json_symtab_language.h:85
register_language
void register_language(language_factoryt factory)
Register a language Note: registering a language is required for using the functions in language_util...
Definition:
mode.cpp:39
mode.h
new_statement_list_language
std::unique_ptr< languaget > new_statement_list_language()
Definition:
statement_list_language.cpp:149
statement_list_language.h
Statement List Language Interface.
src
cbmc
cbmc_languages.cpp
Generated by
1.9.1