shared

package
v0.0.0-...-dc5b6fe Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IsVerbose bool
}

Config is the type containing all the compiler configs

type Error

type Error struct {
	Line      int
	Column    int
	FileName  string
	Message   string
	ErrorType string
}

Error defines a compile-time error

func CreateError

func CreateError(errorNode antlr4.ErrorNode, fileName string) Error

CreateError creates an error obj from an antlr error

func (Error) Format

func (err Error) Format(f fmt.State, _ rune)

Jump to

Keyboard shortcuts

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