Documentation ¶
Index ¶
- func ExitWithError(message string)
- func PrepareChecker(code string, dummyFilename string) (*sema.Checker, func(error))
- func PrepareCheckerFromFile(filename string) (*sema.Checker, func(error))
- func PrepareInterpreter(filename string) (*interpreter.Interpreter, *sema.Checker, func(error))
- func PrettyPrintError(err error, filename string, codes map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func ExitWithError(message string)
func PrepareChecker ¶
PrepareChecker prepares and initializes a Checker with a given code as a string and dummyFilename which is used for pretty-printing errors, if any
func PrepareCheckerFromFile ¶
func PrepareInterpreter ¶
func PrepareInterpreter(filename string) (*interpreter.Interpreter, *sema.Checker, func(error))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.