ExC v0.4.0 Error.ErrorDetecter View Source

Show errors in the output of Lexer.tokenize / 1 andParser.parse / 2.

Link to this section Summary

Functions

Specs

token list of all the tokens found in the source code. file_path is the path to the file to be compiled.

Specs

status atom indicating if there was an invalid token in the source code. tl list of all the bad tokens found in the source code error_cause string containing the cause of the bad tokens. file_path is the path to the file to be compiled.

Link to this section Functions

Link to this function

lexer_error(token, file_path)

View Source

Specs

token list of all the tokens found in the source code. file_path is the path to the file to be compiled.

Link to this function

parser_error(atom, tl, error_cause, file_path)

View Source

Specs

status atom indicating if there was an invalid token in the source code. tl list of all the bad tokens found in the source code error_cause string containing the cause of the bad tokens. file_path is the path to the file to be compiled.