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

Queue of tokens. More...

#include <tkqueue.h>

Collaboration diagram for tkqueue:

Data Fields

unsigned int length
 The current number of items on the queue.
 
token_t ** data
 Pointer to queue data with allocated space to fit _size items.
 
unsigned int _size
 Current number of elements that fits on the queue.
 
int _current
 The index for the current item.
 

Detailed Description

Queue of tokens.

Definition at line 8 of file tkqueue.h.

Field Documentation

◆ _current

int tkqueue::_current

The index for the current item.

Definition at line 13 of file tkqueue.h.

◆ _size

unsigned int tkqueue::_size

Current number of elements that fits on the queue.

Definition at line 12 of file tkqueue.h.

◆ data

token_t** tkqueue::data

Pointer to queue data with allocated space to fit _size items.

Definition at line 11 of file tkqueue.h.

◆ length

unsigned int tkqueue::length

The current number of items on the queue.

Definition at line 10 of file tkqueue.h.


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