com php-src: ...: phpdbg_cmd.h

From: Date: Fri, 21 Feb 2014 18:12:52 +0000
Subject: com php-src: ...: phpdbg_cmd.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77046@lists.php.net to get a copy of this message
Commit: d1b02fe2fed850a79a0fce95addbf8188f241e9d Author: krakjoe <joe.watkins@live.co.uk> Fri, 21 Feb 2014 18:12:52 +0000 Parents: f13fdbe9a01041219ff3f4bab60ae1059d952dba Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d1b02fe2fed850a79a0fce95addbf8188f241e9d Log: .. Changed paths: M phpdbg_cmd.h Diff: diff --git a/phpdbg_cmd.h b/phpdbg_cmd.h index dd82fac..8028d7d 100644 --- a/phpdbg_cmd.h +++ b/phpdbg_cmd.h @@ -113,20 +113,13 @@ typedef struct { } phpdbg_frame_t; /* }}} */ - - /* * Workflow: -* 1) read input -* input takes the line from console, creates argc/argv -* 2) parse parameters into suitable types based on arg_type -* takes input from 1) and arg_type and creates parameters -* 3) do command -* executes commands -* 4) destroy parameters -* cleans up what was allocated by creation of parameters -* 5) destroy input -* cleans up what was allocated by creation of input +* 1) the lexer/parser creates a stack of commands and arguments from input +* 2) the commands at the top of the stack are resolved sensibly using aliases, abbreviations and case insensitive matching +* 3) the remaining arguments in the stack are verified (optionally) against the handlers declared argument specification +* 4) the handler is called passing the top of the stack as the only parameter +* 5) the stack is destroyed upon return from the handler */ /*

« previous php.cvs (#77046) next »