Documentation ¶
Index ¶
- func ExitWithError(message string)
- func PrepareChecker(program *ast.Program, location common.Location, ...) (*sema.Checker, func(error))
- func PrepareInterpreter(filename string, debugger *interpreter.Debugger) (*interpreter.Interpreter, *sema.Checker, func(error))
- func PrepareProgram(code string, location common.Location, codes map[common.LocationID]string) (*ast.Program, func(error))
- func PrepareProgramFromFile(location common.StringLocation, codes map[common.LocationID]string) (*ast.Program, func(error))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func ExitWithError(message string)
func PrepareChecker ¶
func PrepareChecker( program *ast.Program, location common.Location, codes map[common.LocationID]string, memberAccountAccess map[common.LocationID]map[common.LocationID]struct{}, must func(error), ) (*sema.Checker, func(error))
PrepareChecker prepares and initializes a checker with a given code as a string, and a filename which is used for pretty-printing errors, if any
func PrepareInterpreter ¶
func PrepareInterpreter(filename string, debugger *interpreter.Debugger) (*interpreter.Interpreter, *sema.Checker, func(error))
func PrepareProgram ¶ added in v0.7.0
func PrepareProgramFromFile ¶ added in v0.7.0
func PrepareProgramFromFile(location common.StringLocation, codes map[common.LocationID]string) (*ast.Program, func(error))
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
* Cadence - The resource-oriented smart contract programming language * * Copyright 2019-2022 Dapper Labs, Inc.
|
* Cadence - The resource-oriented smart contract programming language * * Copyright 2019-2022 Dapper Labs, Inc. |
Click to show internal directories.
Click to hide internal directories.