cmd

package
v0.3.0-beta4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitWithError

func ExitWithError(message string)

func PrepareChecker

func PrepareChecker(code string, dummyFilename string) (*sema.Checker, func(error))

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 PrepareCheckerFromFile(filename string) (*sema.Checker, func(error))

func PrepareInterpreter

func PrepareInterpreter(filename string) (*interpreter.Interpreter, *sema.Checker, func(error))

func PrettyPrintError

func PrettyPrintError(err error, filename string, codes map[string]string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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