ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
jimple_declaration.h
Go to the documentation of this file.
1#ifndef ESBMC_JIMPLE_DECLARATION_H
2#define ESBMC_JIMPLE_DECLARATION_H
3
6
16{
17public:
18 virtual void from_json(const json &j) override;
19 virtual std::string to_string() const override;
20 virtual expr2tc to_code2t(
21 contextt &ctx,
22 const std::string &class_name,
23 const std::string &function_name,
24 const locationt &loc) const override;
25
27 std::string name;
28};
29
30#endif // ESBMC_JIMPLE_DECLARATION_H
Definition context.h:57
Class to hold declaration statements in Jimple.
Definition jimple_declaration.h:16
jimple_type type
Definition jimple_declaration.h:26
virtual expr2tc to_code2t(contextt &ctx, const std::string &class_name, const std::string &function_name, const locationt &loc) const override
The IREP2 form of this statement, located at loc.
Definition jimple_declaration.cpp:5
virtual void from_json(const json &j) override
Initializes the current instance by parsing a JSON.
Definition jimple_declaration.cpp:41
std::string name
Definition jimple_declaration.h:27
virtual std::string to_string() const override
Converts the object into a string.
Definition jimple_declaration.cpp:32
The contents of a Jimple method.
Definition jimple_method_body.h:48
Definition jimple_type.h:14
Definition location.h:7
irep_container< expr2t > expr2tc
Definition irep2.h:431
nlohmann::json json
Definition json.cpp:12