|
FE 0.13.1
Header-only C++ frontend library
|
The debug info of an entity: where it came from and what it was called. More...
#include <fe/dbg.h>
Classes | |
| struct | Hash |
| struct | Eq |
Public Member Functions | |
Constructors | |
| constexpr | Dbg () noexcept=default |
| constexpr | Dbg (const Dbg &) noexcept=default |
| constexpr | Dbg (Loc loc, Sym sym) noexcept |
| constexpr | Dbg (Loc loc) noexcept |
| constexpr | Dbg (Sym sym) noexcept |
| Dbg & | operator= (const Dbg &) noexcept=default |
Getters | |
| Sym | sym () const |
| Loc | loc () const |
| bool | is_anon () const |
| Assumes _ as the anonymous name. | |
| operator bool () const | |
Setters | |
| Dbg & | set (Sym sym) |
| Dbg & | set (Loc loc) |
Comparison and Hashing | |
| bool | operator== (const Dbg &other) const noexcept |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Dbg &dbg) |
The debug info of an entity: where it came from and what it was called.
|
constexprdefaultnoexcept |
Referenced by Dbg(), Dbg(), fe::Dbg::Eq::operator()(), fe::Dbg::Hash::operator()(), operator<<, operator=(), operator==(), set(), and set().
|
constexprdefaultnoexcept |
References Dbg().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inline |
|
inlineexplicit |
|
inlinenoexcept |
Definition at line 55 of file dbg.h.
References Dbg().
|
inline |
Definition at line 40 of file dbg.h.
Referenced by Dbg(), Dbg(), is_anon(), operator bool(), operator<<, and set().
|
friend |