1#ifndef ESBMC_JIMPLE_DECLARATION_H
2#define ESBMC_JIMPLE_DECLARATION_H
19 virtual std::string
to_string()
const override;
22 const std::string &class_name,
23 const std::string &function_name,
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
irep_container< expr2t > expr2tc
Definition irep2.h:431
nlohmann::json json
Definition json.cpp:12