6#include <nlohmann/json.hpp>
16 bool parse(
const std::string &
path)
override;
18 bool final(
contextt &context)
override;
26 unsigned flags)
override;
32 unsigned flags)
override;
36 std::string
id()
const override
57 std::string ast_output_dir;
59 std::vector<nlohmann::json> extra_asts;
Definition global_scope.h:7
Definition namespace.h:10
Definition python_language.h:11
bool from_type(const typet &type, std::string &code, const namespacet &ns, unsigned flags) override
Definition python_language.cpp:391
void show_parse(std::ostream &out) override
Definition python_language.cpp:357
bool typecheck(contextt &context, const std::string &module) override
Definition python_language.cpp:257
std::string id() const override
Definition python_language.h:36
bool parse(const std::string &path) override
Definition python_language.cpp:140
languaget * new_language() const override
Definition python_language.h:43
const std::vector< nlohmann::json > & get_extra_asts() const
Additional positional Python files passed on the command line, beyond the first (github #6211).
Definition python_language.h:51
unsigned default_flags(presentationt target) const override
Definition python_language.cpp:401
static void register_bundled()
Registers the bundled parser scripts with file_operations.
Definition python_language.cpp:66
bool from_expr(const exprt &expr, std::string &code, const namespacet &ns, unsigned flags) override
Definition python_language.cpp:381
presentationt
Definition language.h:10
languaget * new_python_language()
Definition python_language.cpp:80