Package com.valgolang.errorhandling.syntaxerror

Types

SyntaxErrorListener
Link copied to clipboard
class SyntaxErrorListener : BaseErrorListener
Syntax error listenerCustom Syntax error listener that throws custom messages.
SyntaxErrorStrategy
Link copied to clipboard
class SyntaxErrorStrategy : DefaultErrorStrategy
Syntax error strategyCustom syntax error strategy to override default ANTLR syntax errors.

Functions

extraneousInputError
Link copied to clipboard
fun extraneousInputError(token: String, line: Int, char: Int, underlinedError: String)
Extraneous input errorError message for extraneous input
otherError
Link copied to clipboard
fun otherError(msg: String, token: String, line: Int, char: Int, underlinedError: String)
Other errorGeneral error message