reporter

package
v0.0.0-...-50a66e4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearErrors

func ClearErrors()

ClearErrors clears the errors.

func Error

func Error(errortype ErrorType, location token.Location, message string)

Error adds a new error to the store.

func GetErrors

func GetErrors() []string

GetErrors returns the array of errors.

func HasErrors

func HasErrors() bool

HasErrors checks if there are errors.

Types

type ErrorType

type ErrorType string

ErrorType is the type of error.

const (
	PARSE   ErrorType = "Parse Error"
	RUNTIME ErrorType = "Runtime Error"
)

Error types.

Jump to

Keyboard shortcuts

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