cadence

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SemanticErrorCategory = "semantic-error"
	SyntaxErrorCategory   = "syntax-error"
	ErrorCategory         = "error"
)

Error diagnostic categories

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "cadence",
	Short:   "Execute Cadence code",
	GroupID: "tools",
	Run: func(cmd *cobra.Command, args []string) {
		if len(args) > 0 {
			execute.Execute(args, nil)
		} else {
			repl, err := execute.NewConsoleREPL()
			if err != nil {
				panic(err)
			}
			repl.Run()
		}
	},
}

Functions

This section is empty.

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