|
| using | Action_t = std::function<bool(const std::string&, const CommandArgs&)> |
| |
| using | Args_t = std::vector<std::pair<std::string, std::string>> |
| |
|
| | Command (std::string name, std::string desc, Action_t &&do_this) |
| |
| | Command (const std::initializer_list< std::string > list_of_names, std::string desc, Action_t &&do_this) |
| |
| | Command (StartsWith start, std::vector< std::pair< std::string, std::string > > arguments, std::string desc, Action_t &&do_this) |
| |
| std::optional< Args_t > | getArgs (const std::string &line, std::ostream &os) const |
| |
| std::optional< std::size_t > | argAsCount (const std::string &line, std::size_t idx, std::ostream &os) const |
| |
Definition at line 134 of file Debugger.hpp.
◆ Action_t
◆ Args_t
◆ Command() [1/3]
| Ark::internal::Debugger::Command::Command |
( |
std::string | name, |
|
|
std::string | desc, |
|
|
Action_t && | do_this ) |
|
inline |
◆ Command() [2/3]
| Ark::internal::Debugger::Command::Command |
( |
const std::initializer_list< std::string > | list_of_names, |
|
|
std::string | desc, |
|
|
Action_t && | do_this ) |
|
inline |
◆ Command() [3/3]
| Ark::internal::Debugger::Command::Command |
( |
StartsWith | start, |
|
|
std::vector< std::pair< std::string, std::string > > | arguments, |
|
|
std::string | desc, |
|
|
Action_t && | do_this ) |
|
inline |
◆ argAsCount()
| std::optional< std::size_t > Ark::internal::Debugger::Command::argAsCount |
( |
const std::string & | line, |
|
|
std::size_t | idx, |
|
|
std::ostream & | os ) const |
|
nodiscard |
◆ getArgs()
| std::optional< Debugger::Command::Args_t > Ark::internal::Debugger::Command::getArgs |
( |
const std::string & | line, |
|
|
std::ostream & | os ) const |
|
nodiscard |
◆ action
| Action_t Ark::internal::Debugger::Command::action |
◆ args
| Args_t Ark::internal::Debugger::Command::args |
◆ description
| std::string Ark::internal::Debugger::Command::description |
◆ is_exact
| bool Ark::internal::Debugger::Command::is_exact |
◆ names
| std::vector<std::string> Ark::internal::Debugger::Command::names |
The documentation for this struct was generated from the following files:
- /Users/fola/Documents/ArkScript/Ark/include/Ark/VM/Debugger.hpp
- /Users/fola/Documents/ArkScript/Ark/src/arkreactor/VM/Debugger.cpp