21 void save(ImGuiTextBuffer& buf)
override;
28 void drawRow(
int row);
39 WatchExpr() =
default;
40 WatchExpr(std::string d, std::string e,
TclObject f)
41 : description(std::move(d)), exprStr(std::move(e)),
format(std::move(f)) {}
42 std::string description;
44 std::optional<TclObject> expression;
47 std::vector<WatchExpr> watches;
49 [[nodiscard]] std::expected<TclObject, std::string> evalExpr(WatchExpr& watch,
Interpreter& interp)
const;
53 static constexpr auto persistentElements = std::tuple{