23#include "AstUtil/StringView.hpp"
24#include "AstUtil/JsonValue.hpp"
53 const std::string&
name()
const {
return name_; }
61 const std::string&
description()
const {
return description_; }
94 std::string description_{};
95 JsonValue parameters_{};
96 JsonValue annotations_{};
100template<
typename Func>
105 std::string
call(
const JsonValue& arguments)
override {
return func_(arguments); }
JSON 值类
定义 JsonValue.hpp:47