type RecognitionException …
type BaseRecognitionException …
func NewBaseRecognitionException(message string, recognizer Recognizer, input IntStream, ctx RuleContext) *BaseRecognitionException { … }
func (b *BaseRecognitionException) GetMessage() string { … }
func (b *BaseRecognitionException) GetOffendingToken() Token { … }
func (b *BaseRecognitionException) GetInputStream() IntStream { … }
func (b *BaseRecognitionException) getExpectedTokens() *IntervalSet { … }
func (b *BaseRecognitionException) String() string { … }
type LexerNoViableAltException …
func NewLexerNoViableAltException(lexer Lexer, input CharStream, startIndex int, deadEndConfigs *ATNConfigSet) *LexerNoViableAltException { … }
func (l *LexerNoViableAltException) String() string { … }
type NoViableAltException …
func NewNoViableAltException(recognizer Parser, input TokenStream, startToken Token, offendingToken Token, deadEndConfigs *ATNConfigSet, ctx ParserRuleContext) *NoViableAltException { … }
type InputMisMatchException …
func NewInputMisMatchException(recognizer Parser) *InputMisMatchException { … }
type FailedPredicateException …
func NewFailedPredicateException(recognizer Parser, predicate string, message string) *FailedPredicateException { … }
func (f *FailedPredicateException) formatMessage(predicate, message string) string { … }
type ParseCancellationException …
func (p ParseCancellationException) GetOffendingToken() Token { … }
func (p ParseCancellationException) GetMessage() string { … }
func (p ParseCancellationException) GetInputStream() IntStream { … }
func NewParseCancellationException() *ParseCancellationException { … }