next up previous contents index
Next: Right-hand-side terms Up: Display Form Definitions Previous: Slots

Attributes

Definition attributes are summarized in Table gif .

  
Table: Attributes

As with the format table, the `Name' column gives the names by which you can refer to the attributes when entering them.

Conditions provide extra information about a definition to the editor. The argument of the conds term is a sequence of conditions. Each condition is a term with a single text slot holding the name of the condition. Use the INITIALIZE command (CM-I ) with a term cursor over a condition sequence slot to insert a condition term.

The alias attribute provides an alternate name which the input editor recognises as refering to the definition. Alternate names are often convenient abbreviations for the full names of definitions.

The iteration attributes control selection of a definition by the display layout algorithm. They are used to come up with convenient notations for iterated structures. They are discussed in Section gif .

The parens and prec attributes both affect parenthesization. See Section gif .

The display form that you get for a display form definition when you first open up a display object assumes there are no attributes, and hides the attribute slot. To open up the attribute slot of a display form definition that hides the slot, position a term cursor over the whole definition and use the SELECT-DFORM-OPTION (CM-S ) command.



Karla Consroe
Wed Oct 23 13:48:45 EDT 1996