1 /* 2 * Copyright 2012, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef CLI_PRINT_VARIABLE_COMMAND_H 6 #define CLI_PRINT_VARIABLE_COMMAND_H 7 8 9 #include "CliCommand.h" 10 11 12 class Team; 13 class StackFrame; 14 class ValueNode; 15 class ValueNodeChild; 16 17 18 class CliPrintVariableCommand : public CliCommand { 19 public: 20 CliPrintVariableCommand(); 21 virtual void Execute(int argc, const char* const* argv, 22 CliContext& context); 23 24 private: 25 status_t _ResolveValueIfNeeded(ValueNode* node, 26 CliContext& context, int32 maxDepth); 27 }; 28 29 30 #endif // CLI_PRINT_VARIABLE_COMMAND_H 31