Nu Class Reference

NuCellWithComments

A cell with annotated comments.

Superclass: NuCell
Declared in: objc/Nu.h

To simplify programmatic analysis of Nu code, the Nu parser can optionally attach the comments preceding a list element to an instance of this subclass of NuCell. Comments can then be parsed with Nu code, typically to produce documentation.

Methods

- (void) setComments: (id) comments
Set the comments string for a list element.

in objc/Nu.h

- (id) comments
Get a string containing the comments that preceded a list element.

in objc/Nu.h