handleParse

open fun handleParse(problem: Problem, decider: (Boolean) -> Unit)

A Problem occurred while parsing a module's body. This includes both malformed tokens and assemblies of tokens that could not be successfully transformed into phrases.

Parameters

problem

The problem whose type is ProblemType.PARSE.

decider

How to continue or abort compilation. Accepts a boolean that is true iff compilation should continue.