4.7 Using Lisp-specific commands

4.7.6 The Expression and Definition menus

You can find out other details about the expression or definition that the cursor is on, using the Expression and Definition menus.

Expression > Find Definition finds the source code definition of the expression the cursor is on. Similarly, the Value and Arguments items on the Expression menu respectively find the value and arguments of the expression.

The editor knows automatically whether the current definition or expression is a class or generic function, and choosing Class or Generic Function from the Expression or Definition menu (as appropriate) displays a Class Browser or Generic Function Browser. Note that you must have evaluated the relevant code before these commands work. (That is, the class or generic function must currently be defined in the environment.)

Note: An expression is the symbol over which the cursor is positioned (or the one immediately before it if it is not on a symbol), and a definition is the definition in which that symbol occurs. In the function below, if the cursor were placed on the letter 'e' of test2, the expression would be the symbol test2, and the definition would be test.

(defun test ()
  (test2))


FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker