#include <command.h>
Classes | |
struct | SubTypeDesc |
Public Types | |
enum | ControlFlowType { kFlowNormal, kFlowBranch, kFlowEnd } |
typedef Common::Array< Resources::Command::Argument > | ArgumentArray |
Public Member Functions | |
Command (Command *command) | |
Command (Resources::Command *resource) | |
void | printCall () const |
uint16 | getIndex () const |
Resources::Command::SubType | getSubType () const |
bool | hasSubtypeDescription () const |
ArgumentArray | getEffectiveArguments () const |
Protected Member Functions | |
Common::String | describeArguments (DefinitionRegistry *definitions) const |
Static Protected Member Functions | |
static const SubTypeDesc * | searchSubTypeDesc (Resources::Command::SubType subType) |
Protected Attributes | |
uint16 | _index |
Resources::Command::SubType | _subType |
const SubTypeDesc * | _subTypeDesc |
ArgumentArray | _arguments |
A base script command for disassembly use
As opposed to the Command class in the Resources namespace, this class is not meant to be executed. It is meant to be used for script disassembly, to store analysis results.
void Stark::Tools::Command::printCall | ( | ) | const |
Print a call to this command to the debug output
uint16 Stark::Tools::Command::getIndex | ( | ) | const |
This command's resource tree index
ArgumentArray Stark::Tools::Command::getEffectiveArguments | ( | ) | const |
List the command's arguments ignoring the control flow related ones
|
staticprotected |
Get a description for a command subtype from an internal database
|
protected |
List the arguments values as a coma separated string