errors

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileError

type CompileError struct {
	Message string
	Line    int
}

type ErrorCollector

type ErrorCollector struct {
	Errors         []CompileError
	HasSyntaxError bool
}

func (*ErrorCollector) Add

func (ec *ErrorCollector) Add(message string, line int)

func (*ErrorCollector) HasErrors

func (ec *ErrorCollector) HasErrors() bool

Jump to

Keyboard shortcuts

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