MCPcopy Create free account
hub / github.com/bloomberg/pystack / CodeObject

Class CodeObject

src/pystack/_pystack/pycode.h:22–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22class CodeObject
23{
24 public:
25 // Constructors
26 CodeObject(
27 const std::shared_ptr<const AbstractProcessManager>& manager,
28 remote_addr_t addr,
29 uintptr_t lastli,
30 int tlbc_index);
31 CodeObject(std::string filename, std::string scope, LocationInfo location_info);
32
33 // Getters
34 std::string Filename() const;
35 std::string Scope() const;
36 const LocationInfo& Location() const;
37 int NArguments() const;
38 const std::vector<std::string>& Varnames() const;
39
40 private:
41 // Data members
42 std::string d_filename;
43 std::string d_scope;
44 LocationInfo d_location_info;
45 int d_narguments;
46 std::vector<std::string> d_varnames;
47};
48} // namespace pystack

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected