Verilog Parser
|
Data Structures | |
struct | ast_stack |
A very simple stack. More... | |
struct | ast_stack_element |
Storage container for a single element in the stack. More... | |
Functions | |
void | ast_stack_free (ast_stack *stack) |
Free the stack, but not it's contents. | |
ast_stack * | ast_stack_new () |
Creates and returns a new stack object. | |
void * | ast_stack_peek (ast_stack *stack) |
Peek at the top item on the top of the stack. More... | |
void * | ast_stack_peek2 (ast_stack *stack) |
Peek at the item below the top item on the top of the stack. More... | |
void * | ast_stack_pop (ast_stack *stack) |
Pop the top item from the top of the stack. More... | |
void | ast_stack_push (ast_stack *stack, void *item) |
Push a new item to the top of the stack. More... | |
void* ast_stack_peek | ( | ast_stack * | stack | ) |
Peek at the top item on the top of the stack.
[in,out] | stack | - The stack to peek at |
void* ast_stack_peek2 | ( | ast_stack * | stack | ) |
Peek at the item below the top item on the top of the stack.
[in,out] | stack | - The stack to peek into |
void* ast_stack_pop | ( | ast_stack * | stack | ) |
Pop the top item from the top of the stack.
[in,out] | stack | - The stack to pop from. |
void ast_stack_push | ( | ast_stack * | stack, |
void * | item | ||
) |
Push a new item to the top of the stack.
[in,out] | stack | - The stack to push to. |
[in] | item | - The thing to push onto the stack. |