util

package
v0.0.0-...-a0428bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: CC-BY-4.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL