class SymbolStack

Stack for holding red-black trees in symbol table

Public Methods

[more] SymbolStack()
Default constructor
[more] ~SymbolStack()
Destructor
[more]BalancedTree* push(BalancedTree* )
Push new scope tree on to stack
[more]BalancedTree* pop()
Pop of top scope tree
[more]BalancedTree* peek()
Peek at current scope tree
[more]int isEmpty()
Is the stack empty?
[more]int atTop()
Are we at the top of the stack?
[more]int moveDown()
Moves current pointer, use in conjunction with peek() to traverse stack.
[more]void moveTop()
Move current pointer back to top


Documentation

Stack for holding red-black trees in symbol table
o SymbolStack()
Default constructor

o ~SymbolStack()
Destructor

oBalancedTree* push(BalancedTree* )
Push new scope tree on to stack

oBalancedTree* pop()
Pop of top scope tree

oBalancedTree* peek()
Peek at current scope tree

oint isEmpty()
Is the stack empty?

oint atTop()
Are we at the top of the stack?

oint moveDown()
Moves current pointer, use in conjunction with peek() to traverse stack. Note that this doesn't affect push() and pop().

ovoid moveTop()
Move current pointer back to top


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.