This class materializes a scope in which Function, Variable, Type, ... can be defined.
More...
#include <Scope.hpp>
|
| | Scope (std::unique_ptr< details::Scope > impl) |
| std::string | name () const |
| | Name of the scope. For instance namespace's name or function's name.
|
| std::unique_ptr< Scope > | parent () const |
| | Parent scope (if any).
|
| TYPE | type () const |
| | The current scope type.
|
| std::string | chained (const std::string &sep="::") const |
| | Represent the whole chain of all (parent) scopes using the provided separator. E.g. ns1::ns2::Class1::Struct2::Type.
|
| | ~Scope () |
This class materializes a scope in which Function, Variable, Type, ... can be defined.
◆ TYPE
| Enumerator |
|---|
| UNKNOWN | |
| UNION | |
| CLASS | |
| STRUCT | |
| NAMESPACE | |
| FUNCTION | |
| COMPILATION_UNIT | |
◆ Scope()
| LIEF::dwarf::Scope::Scope |
( |
std::unique_ptr< details::Scope > | impl | ) |
|
◆ ~Scope()
| LIEF::dwarf::Scope::~Scope |
( |
| ) |
|
◆ chained()
| std::string LIEF::dwarf::Scope::chained |
( |
const std::string & | sep = "::" | ) |
const |
Represent the whole chain of all (parent) scopes using the provided separator. E.g. ns1::ns2::Class1::Struct2::Type.
◆ name()
| std::string LIEF::dwarf::Scope::name |
( |
| ) |
const |
Name of the scope. For instance namespace's name or function's name.
◆ parent()
| std::unique_ptr< Scope > LIEF::dwarf::Scope::parent |
( |
| ) |
const |
◆ type()
| TYPE LIEF::dwarf::Scope::type |
( |
| ) |
const |
The documentation for this class was generated from the following file: