list-productions [Function]


Purpose

The list-productions function lists the productions in a given context, or in all contexts.

Syntax

list-productions &key context

Arguments

The context argument is the context, or the string or symbol that names the context, whose productions are to be listed. If this argument is not supplied, all contexts are searched.

Value

The list-productions function returns a list of productions.

Examples

(list-productions) ==> (|PRODUCTION|P1 |PRODUCTION|P2) 
(list-productions :context "CL-USER-THEORY") ==> (|PRODUCTION|P3)

See Also

Last modified: Jun 1 1995