libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
module.h File Reference
#include <stdio.h>
#include "types/ast.h"
#include "types/dstring.h"
#include "types/queue.h"
#include "types/token.h"
Include dependency graph for module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  module_error
 Struct that represents a error inside a Mya module. More...
 
struct  module
 Struct that represents a Mya module. More...
 

Macros

#define MODULE_MAX_FILEPATH_SIZE   127
 
#define MODULE_INITIAL_ERRORS_LENGTH   5
 
#define MODULE_INITIAL_TOKENS_LENGTH   100
 
#define MODULE_ERRORS_LENGTH_INCREMENT   10
 
#define MODULE_TOKENS_LENGTH_INCREMENT   50
 
#define MODULE_MAX_QUEUE_LENGTH   100
 
#define MODULE_MIN_QUEUE_LENGTH   20
 

Typedefs

typedef struct module_error module_error_t
 Struct that represents a error inside a Mya module.
 
typedef struct module module_t
 Struct that represents a Mya module.
 

Macro Definition Documentation

◆ MODULE_ERRORS_LENGTH_INCREMENT

#define MODULE_ERRORS_LENGTH_INCREMENT   10

Definition at line 13 of file module.h.

◆ MODULE_INITIAL_ERRORS_LENGTH

#define MODULE_INITIAL_ERRORS_LENGTH   5

Definition at line 11 of file module.h.

◆ MODULE_INITIAL_TOKENS_LENGTH

#define MODULE_INITIAL_TOKENS_LENGTH   100

Definition at line 12 of file module.h.

◆ MODULE_MAX_FILEPATH_SIZE

#define MODULE_MAX_FILEPATH_SIZE   127

Definition at line 10 of file module.h.

◆ MODULE_MAX_QUEUE_LENGTH

#define MODULE_MAX_QUEUE_LENGTH   100

Definition at line 15 of file module.h.

◆ MODULE_MIN_QUEUE_LENGTH

#define MODULE_MIN_QUEUE_LENGTH   20

Definition at line 16 of file module.h.

◆ MODULE_TOKENS_LENGTH_INCREMENT

#define MODULE_TOKENS_LENGTH_INCREMENT   50

Definition at line 14 of file module.h.

Typedef Documentation

◆ module_error_t

typedef struct module_error module_error_t

Struct that represents a error inside a Mya module.

◆ module_t

typedef struct module module_t

Struct that represents a Mya module.