e6b6aa0b09
I noticed that directorty structure of hphp/system was a bit scattered, so I consolidated things to reduce the total number of folders and to put related things together with each other. This diff moves the contents of "hphp/system/classes_hhvm" into "hphp/system", it moves the contents of "hphp/system/lib" into "hphp/system", moves "hphp/idl" to "hphp/system/idl", and moves the contents of "hphp/system/globals" into "hphp/system/idl".
33 linhas
856 B
PHP
33 linhas
856 B
PHP
<?php
|
|
|
|
interface DebuggerCommand {
|
|
/**
|
|
* Called when DebuggerClient needs to auto-complete. Inside this function,
|
|
* one can call $client->addCompletion() with a list of strings or one of
|
|
* those DebuggerClient::AUTO_COMPLETE_ constants.
|
|
*/
|
|
public function onAutoComplete($client);
|
|
|
|
/**
|
|
* Called when DebuggerClient needs to displays help on the command. Inside
|
|
* this function, one can call $client->help() and its different forms.
|
|
*
|
|
* @return TRUE if helped, FALSE if any error
|
|
*/
|
|
public function help($client);
|
|
|
|
/**
|
|
* How to process the command on client side.
|
|
*
|
|
* @return TRUE for success, FALSE for failure
|
|
*/
|
|
public function onClient($client);
|
|
|
|
/**
|
|
* How to process the command on server side.
|
|
*
|
|
* @return TRUE for success, FALSE for failure
|
|
*/
|
|
public function onServer($proxy);
|
|
}
|