SyntaxErrorListener

class SyntaxErrorListener : BaseErrorListener

Syntax error listener

Custom Syntax error listener that throws custom messages.

Constructors

SyntaxErrorListener
Link copied to clipboard
fun SyntaxErrorListener()
Create empty Syntax error listener

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
reportAmbiguity
Link copied to clipboard
open override fun reportAmbiguity(p0: Parser, p1: DFA, p2: Int, p3: Int, p4: Boolean, p5: BitSet, p6: ATNConfigSet)
reportAttemptingFullContext
Link copied to clipboard
open override fun reportAttemptingFullContext(p0: Parser, p1: DFA, p2: Int, p3: Int, p4: BitSet, p5: ATNConfigSet)
reportContextSensitivity
Link copied to clipboard
open override fun reportContextSensitivity(p0: Parser, p1: DFA, p2: Int, p3: Int, p4: Int, p5: ATNConfigSet)
syntaxError
Link copied to clipboard
open override fun syntaxError(recognizer: Recognizer<*, *>, offendingSymbol: Any, line: Int, charPositionInLine: Int, msg: String, e: RecognitionException?)
Syntax errorSyntax error to throw.
toString
Link copied to clipboard
open fun toString(): String