antlr4util

package
v1.3.4-alpha8 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorListener

type ErrorListener struct {
	*antlr.DefaultErrorListener
	// contains filtered or unexported fields
}

error listener for lexer and parser

func NewErrorListener

func NewErrorListener() *ErrorListener

func (*ErrorListener) GetErrorString added in v1.3.3

func (el *ErrorListener) GetErrorString() string

func (*ErrorListener) GetErrors

func (el *ErrorListener) GetErrors() []string

func (*ErrorListener) SyntaxError

func (el *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)

Jump to

Keyboard shortcuts

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