Nu Class Reference

NuStack

A stack class.

Superclass: NSObject
Declared in: objc/stack.h

A simple stack class used by the Nu parser.

Methods

- (int) depth
Return the current stack depth.

in objc/stack.h

- (id) pop
Pop an object from the top of the stack. Return nil if the stack is empty.

in objc/stack.h

- (void) push: (id) object
Push an object onto the stack.

in objc/stack.h