|
FE 0.15.0
A C++23 toolkit for writing compiler/interpreter frontends.
|
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 | |
| constexpr Sym | sym () const noexcept |
| constexpr Loc | loc () const noexcept |
| constexpr bool | is_anon () const noexcept |
| Assumes _ as the anonymous name. | |
| constexpr | operator bool () const noexcept |
Setters | |
| constexpr Dbg & | set (Sym sym) noexcept |
| constexpr Dbg & | set (Loc loc) noexcept |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Dbg &dbg) |
Comparison and Hashing | |
| constexpr bool | operator== (const Dbg &other) const noexcept |
| template<class H> | |
| H | AbslHashValue (H h, Dbg dbg) noexcept |
The debug info of an entity: where it came from and what it was called.
|
constexprdefaultnoexcept |
Referenced by AbslHashValue, Dbg(), Dbg(), fe::Dbg::Eq::operator()(), fe::Dbg::Hash::operator()(), operator<<, operator=(), operator==(), set(), and set().
|
constexprdefaultnoexcept |
References Dbg().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 56 of file dbg.h.
References Dbg().
|
inlineconstexprnoexcept |
Definition at line 40 of file dbg.h.
Referenced by Dbg(), Dbg(), is_anon(), operator bool(), operator<<, and set().
|
friend |
|
friend |