Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrictErrorStrategy ¶
type StrictErrorStrategy struct {
antlr.DefaultErrorStrategy
}
Cf. https://stackoverflow.com/questions/51683104/how-to-catch-minor-errors
func (*StrictErrorStrategy) Recover ¶
func (s *StrictErrorStrategy) Recover(recognizer antlr.Parser, e antlr.RecognitionException)
func (*StrictErrorStrategy) RecoverInline ¶
func (s *StrictErrorStrategy) RecoverInline(recognizer antlr.Parser) antlr.Token
ErrorStrategy.RecoverInline(Parser) Token
Click to show internal directories.
Click to hide internal directories.