kubernetes/vendor/github.com/antlr4-go/antlr/v4/errors.go

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

// NewNoViableAltException creates an exception indicating that the parser could not decide which of two or more paths
// to take based upon the remaining input. It tracks the starting token
// of the offending input and also knows where the parser was
// in the various paths when the error.
//
// Reported by [ReportNoViableAlternative]
func NewNoViableAltException(recognizer Parser, input TokenStream, startToken Token, offendingToken Token, deadEndConfigs *ATNConfigSet, ctx ParserRuleContext) *NoViableAltException {}

type InputMisMatchException

// NewInputMisMatchException creates an exception that signifies any kind of mismatched input exceptions such as
// when the current input does not Match the expected token.
func NewInputMisMatchException(recognizer Parser) *InputMisMatchException {}

type FailedPredicateException

//goland:noinspection GoUnusedExportedFunction
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 {}