15#ifndef LIEF_DWARF_SCOPE_H
16#define LIEF_DWARF_SCOPE_H
34 enum class TYPE : uint32_t {
43 Scope(std::unique_ptr<details::Scope> impl);
49 std::unique_ptr<Scope>
parent()
const;
56 std::string
chained(
const std::string& sep =
"::")
const;
60 std::unique_ptr<details::Scope> impl_;
This class materializes a scope in which Function, Variable, Type, ... can be defined.
Definition Scope.hpp:32
TYPE type() const
The current scope type.
std::unique_ptr< Scope > parent() const
Parent scope (if any)
std::string name() const
Name of the scope. For instance namespace's name or function's name.
std::string chained(const std::string &sep="::") const
Represent the whole chain of all (parent) scopes using the provided separator. E.g....
TYPE
Definition Scope.hpp:34
Scope(std::unique_ptr< details::Scope > impl)
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41