ExC v0.4.2 Error.ErrorDetecter View Source
Show errors generated by the output of Lexer.tokenize / 1 andParser.parse / 2 module methods.
Link to this section Summary
Link to this section Functions
Specs
token fault token identified in the Lexer output.
file_path is the path to the file to be compiled.
raw_source_code_string contains the source code string without any special characters removals like newline or tabs.
parser_error(atom, tl, error_cause, expected_structure, file_path, position_tuple)
View SourceSpecs
status_atom atom that indicates the type of invalid action generated by the Parser output.
tl token list of all the bad tokens found in the source code.
error_causeNode that contains the node causing the source code compilation failure.
expected_structureNode that contains the expected node the source code needs to compile.
file_path is the path to the file to be compiled.
position_tuple tuple containing the row and col of the fault token.