The Expression menu lets you perform operations on the current expression, that is, the symbol in which the cursor currently lies. It behaves in exactly the same way as the Expression menu in the Editor tool. See Current buffers, definitions and expression for details.
Choose Expression > Class to look at the class of the current expression in a Class Browser. See The Class Browser for full details about this tool.
Choose Expression > Find Source to search for the source code definition of the current expression. If the definition is found, the file is displayed in the editor and the definition is highlighted. See The Editor for an introduction to the editor. Note that you can find only the definitions of symbols you have defined yourself -- those for which you have evaluated or compiled the source code -- not those provided by the system.
Expression > Documentation
to display the Common Lisp documentation (that is, the result of the function
) for the current expression. If such documentation exists, it is printed in a help window.
Expression > Arguments
to print the lambda list of the current expression in the echo area, if it is a function, generic function or method. This is similar to using the keystroke
, except that the current expression is automatically used.
Choose Expression > Value to display the value of the current expression in the echo area.
Expression > Inspect Value
to inspect the value of the current expression in the Inspector tool. If the value is
, a message is printed in the echo area.
Choose Expression > Toggle Breakpoint to add or remove a stepper breakpoint on the current expression. See for information about using the Stepper tool.
Choose Expression > Evaluate Region to evaluate the Lisp code in the current region. You must make sure you have marked a region before choosing this command; see Marking the region. Whether you use the mouse or keyboard commands to mark a region does not matter.
Choose Expression > Compile Region to compile the Lisp code in the current region.
Choose Expression > Macroexpand to macroexpand the current form. The macroexpansion is printed in the output view, which is displayed automatically. Click the Output tab to redisplay the output at any time.
Choose Expression > Walk to walk the current form. This performs a recursive macroexpansion on the form. The macroexpansion is printed in the output view, which is displayed automatically. Click the Output tab to redisplay the output at any time.
Choose Expression > Trace to display a menu of trace commands which can be applied to the current expression. See Tracing symbols from tools for full details.
Choose Expression > Function Calls to browse the current expression in a Function Call Browser. See The Function Call Browser for more details.
Choose Expression > Generic Function to browse the current expression in a Generic Function Browser. This command is only available if the current expression is a generic function. See The Generic Function Browser for more details.
Expression > Browse Symbols Like
to view symbols containing the current expression in a Symbol Browser. This command is analogous to
. See The Symbol Browserfor more details.