#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <strings.h>
#include "votParseP.h"
Functions | |
| Stack * | vot_newStack (void) |
| Makes a new stack (internal method). | |
| Element * | votPop (Stack *st) |
| Return a Node from the top of the stack (internal method). | |
| void | votPush (Stack *st, Element *elem) |
| Push a Node to the top of the stack (internal method). | |
| Element * | votPeek (Stack *st) |
| Peek at Element on top of the Stack (internal method). | |
| int | vot_isEmpty (Stack *st) |
| Checks to see if the stack is empty (internal method). | |
| void | vot_clearStack (Stack *st) |
| Clear the stack (internal method). | |
| void | vot_printStack (Stack *st) |
| Print the name of all the stack elements (internal method). | |
VOTSTACK.C -- (Internal) Methods to manage the parser Element stack.
| vot_clearStack | ( | Stack * | st | ) |
Clear the stack (internal method).
vot_clearStack -- Clear the stack (internal method)
| st | A pointer to a Stack |
| int vot_isEmpty | ( | Stack * | st | ) |
Checks to see if the stack is empty (internal method).
vot_isEmpty -- Checks to see if the stack is empty (internal method)
| st | A pointer to a Stack |
| Stack * vot_newStack | ( | void | ) |
Makes a new stack (internal method).
vot_newStack -- Makes a new stack (internal method)
| vot_printStack | ( | Stack * | st | ) |
Print the name of all the stack elements (internal method).
vot_printStack -- Print the name of all the stack elements (internal method)
| st | A pointer to a Stack |
| Element * votPeek | ( | Stack * | st | ) |
Peek at Element on top of the Stack (internal method).
votPeek -- Peek at Element on top of the Stack (internal method)
| st | A pointer to a Stack |
| Element * votPop | ( | Stack * | st | ) |
Return a Node from the top of the stack (internal method).
votPop -- Return a Node from the top of the stack (internal method)
| st | A pointer to a Stack |
| votPush | ( | Stack * | st, | |
| Element * | elem | |||
| ) |
Push a Node to the top of the stack (internal method).
votPush -- Push a Node to the top of the stack (internal method)
| st | A pointer to a Stack | |
| elem | A pointer to an element to be put on the stack |
1.5.9