compiler

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(path string, options ...Option) error

Compile compiles coroutines in a module.

The path argument can either be a path to a package within the module, or a pattern that matches multiple packages in the module (for example, /path/to/module/...). In both cases, the nearest module is located and compiled as a whole.

The path can be absolute, or relative to the current working directory.

Types

type Option

type Option func(*compiler)

Option configures the compiler.

func CallgraphType

func CallgraphType(callgraphType string) Option

func DebugColors

func DebugColors(enabled bool) Option

func OnlyListFiles

func OnlyListFiles(enabled bool) Option

Directories

Path Synopsis
cmd
coroc command

Jump to

Keyboard shortcuts

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