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

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

#include <module.h>

Collaboration diagram for module_error:

Data Fields

unsigned int line
 The module's line where the error is.
 
unsigned int column
 The line's column where the error starts.
 
unsigned int length
 The length of the part where has an error in the line.
 
dstring_t message
 The error message to print.
 

Detailed Description

Struct that represents a error inside a Mya module.

Definition at line 21 of file module.h.

Field Documentation

◆ column

unsigned int module_error::column

The line's column where the error starts.

Definition at line 24 of file module.h.

◆ length

unsigned int module_error::length

The length of the part where has an error in the line.

It's starts on column and ends on column + length.

Definition at line 25 of file module.h.

◆ line

unsigned int module_error::line

The module's line where the error is.

Definition at line 23 of file module.h.

◆ message

dstring_t module_error::message

The error message to print.

Definition at line 27 of file module.h.


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