errors

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package error provides generated internal error functions for DOT parsing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeExpected added in v0.14.0

func DescribeExpected(tokens []string) string

func DescribeToken added in v0.14.0

func DescribeToken(tok *token.Token) string

Types

type Error

type Error struct {
	Err            error
	ErrorToken     *token.Token
	ErrorSymbols   []ErrorSymbol
	ExpectedTokens []string
	StackTop       int
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) String

func (e *Error) String() string

type ErrorSymbol

type ErrorSymbol interface {
}

Jump to

Keyboard shortcuts

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