libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
stack Struct Reference

A struct representing a dynamic stack. More...

#include <stack.h>

Collaboration diagram for stack:

Data Fields

ast_node_tvalues
 Array of values on the stack.
 
unsigned int length
 Number of elements on the stack.
 
unsigned int _size
 Current number of elements that fits on the stack.
 

Detailed Description

A struct representing a dynamic stack.

Each value on the stack is a ast_node_t struct.

Definition at line 11 of file stack.h.

Field Documentation

◆ _size

unsigned int stack::_size

Current number of elements that fits on the stack.

Definition at line 15 of file stack.h.

◆ length

unsigned int stack::length

Number of elements on the stack.

Definition at line 14 of file stack.h.

◆ values

ast_node_t* stack::values

Array of values on the stack.

Definition at line 13 of file stack.h.


The documentation for this struct was generated from the following file: