All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 11 Commands > 11.10 Advanced Topics

NextPrevUpTopContentsIndex

11.10.6 The CLIM Command Processor

command-line-command-parser [Function]	

Arguments: command-table stream

Summary: The default command-line parser. It reads a command name and the command's arguments as a command line from stream (with completion as much as is possible), and returns a command object. command-table is a command table designator that specifies the command table to use; the commands are read via the textual command-line name.

command-line-command-unparser [Function]	

Arguments: command-table stream command

Summary: The default command-line unparser. It prints the command command as a command name and its arguments as a command line on stream . command-table is a command table designator that specifies the command table to use; the commands are displayed using the textual command-line name.

command-line-read-remaining-arguments-for-partial-command[Function]	

Arguments: command-table stream partial-command start-position

Summary: The default partial command-line parser. If the remaining arguments are at the end of the command line, it reads them as a command line; otherwise, it constructs a dialog using accepting-values and reads the remaining arguments from the dialog. command-table is a command table designator.

menu-command-parser [Function]	

Arguments: command-table stream

Summary: The default menu-driven command parser. It uses only pointer clicks to construct a command. It relies on presentations of all arguments being visible. command-table and stream are as for command-line-parser .

There is no menu-driven command unparser, since it makes no sense to unparse a completely menu-driven command.

menu-read-remaining-arguments-for-partial-command[Function]	

Arguments: command-table stream partial-command start-position

Summary: The default menu-driven partial command parser. It uses only pointer clicks to fill in the command. Again, it relies on presentations of all arguments being visible. command-table is a command table designator.

*command-parser* 

Summary: Contains the currently active command parsing function. The default value is the function command-line-command-parser , which is the default command-line parser.

*command-unparser* 

Summary: Contains the currently active command unparsing function. The default value is the function command-line-command-unparser , which is the default command-line unparser.

*partial-command-parser* 

Summary: Contains the currently active partial command parsing function. The default value is the function command-line-read-remaining-arguments-for-partial-command .

*unsupplied-argument-marker* 

Summary: The value of *unsupplied-argument-marker* is an object that can be uniquely identified as standing for an unsupplied argument in a command object.

*numeric-argument-marker* 

Summary: The value of *numeric-argument-marker* is an object that can be uniquely identified as standing for a numeric argument in a command object.

*command-name-delimiters* 

Summary: This is a list of the characters that separate the command name from the command arguments in a command line. The standard set of command name delimiters includes #\Space .

*command-argument-delimiters* 

Summary: This is a list of the characters that separate the command arguments from each other in a command line. The standard set of command argument delimiters includes #\Space .

 


Common Lisp Interface Manager 2.0 User's Guide - 20 Sep 2011

NextPrevUpTopContentsIndex