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

Struct that represents a Mya module. More...

#include <module.h>

Collaboration diagram for module:

Data Fields

FILE * file
 Module's file handler.
 
token_ttokens
 List of tokens inside the module.
 
ast_node_t ast
 AST of the module.
 
module_error_terrors
 List of errors inside the module.
 
unsigned int tokens_count
 Number of tokens on tokens list.
 
unsigned int _tokens_length
 Internal field with the size of tokens allocated memory.
 
unsigned int errors_count
 Number of errors on errors list.
 
unsigned int _errors_length
 Internal field with the size of errors allocated memory.
 
cqueue_t _queue
 Internal queue to read file character by character.
 
char filepath [MODULE_MAX_FILEPATH_SIZE+1]
 Module's filepath.
 

Detailed Description

Struct that represents a Mya module.

Definition at line 33 of file module.h.

Field Documentation

◆ _errors_length

unsigned int module::_errors_length

Internal field with the size of errors allocated memory.

Definition at line 42 of file module.h.

◆ _queue

cqueue_t module::_queue

Internal queue to read file character by character.

Definition at line 43 of file module.h.

◆ _tokens_length

unsigned int module::_tokens_length

Internal field with the size of tokens allocated memory.

Definition at line 40 of file module.h.

◆ ast

ast_node_t module::ast

AST of the module.

Definition at line 37 of file module.h.

◆ errors

module_error_t* module::errors

List of errors inside the module.

Definition at line 38 of file module.h.

◆ errors_count

unsigned int module::errors_count

Number of errors on errors list.

Definition at line 41 of file module.h.

◆ file

FILE* module::file

Module's file handler.

Definition at line 35 of file module.h.

◆ filepath

char module::filepath[MODULE_MAX_FILEPATH_SIZE+1]

Module's filepath.

Definition at line 44 of file module.h.

◆ tokens

token_t* module::tokens

List of tokens inside the module.

Definition at line 36 of file module.h.

◆ tokens_count

unsigned int module::tokens_count

Number of tokens on tokens list.

Definition at line 39 of file module.h.


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