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 12class Team; 13class StackFrame; 14class ValueNode; 15class ValueNodeChild; 16 17 18class CliPrintVariableCommand : public CliCommand { 19public: 20 CliPrintVariableCommand(); 21 virtual void Execute(int argc, const char* const* argv, 22 CliContext& context); 23 24private: 25 status_t _ResolveValueIfNeeded(ValueNode* node, 26 CliContext& context, int32 maxDepth); 27}; 28 29 30#endif // CLI_PRINT_VARIABLE_COMMAND_H 31