![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <nixexpr.hh>
Public Member Functions | |
| operator bool () const | |
| std::string | getInnerText (const PosTable &positions) const |
Public Attributes | |
| PosIdx | begin |
| PosIdx | end |
A documentation comment, in the sense of RFC 145
Note that this does not implement the following:
|
inline |
Whether the comment is set.
A DocComment is small enough that it makes sense to pass by value, and therefore baking optionality into it is also useful, to avoiding the memory overhead of std::optional.
| PosIdx nix::DocComment::begin |
Start of the comment, including the opening, ie / and **.
| PosIdx nix::DocComment::end |
Position right after the final asterisk and / that terminate the comment.