Parameters for MakeTool. More...
Parameters for MakeTool.
Each parameter kind declares the JSON Schema it advertises and how its argument is checked and converted before the handler runs. Value is the type the handler receives. A parameter is required unless it is made optional or given a default.
A kind provides Schema, Convert and MissingMessage, and a DefaultJson to support Default. Convert turns one argument into a value, and its error is reported as invalid_params. converted holds the values of earlier integer arguments, which IntegerExpression::RelativeTo uses.
Public Types | |
| using | Value = ValueType |
| using | Parsed = ValueType |
Public Member Functions | |
| Param (std::string name, std::string description) | |
| const std::string & | GetName () const |
| bool | IsRequired () const |
| const std::string * | GetRelativeTo () const |
| The earlier parameter this one is evaluated relative to, if any. | |
| void | AddSchema (rapidjson::Value &properties, detail::Allocator &allocator) const |
| ArgumentResult< Value > | Absent () const |
Protected Member Functions | |
| const Derived & | Self () const |
Protected Attributes | |
| std::string | m_name |
| std::string | m_description |
| using BinaryNinja::MCP::Param< Derived, ValueType >::Value = ValueType |
| using BinaryNinja::MCP::Param< Derived, ValueType >::Parsed = ValueType |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
The earlier parameter this one is evaluated relative to, if any.
|
inline |
|
inline |
|
protected |
|
protected |