metadata

package
v0.0.0-...-1dbd504 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module is a module metadata.

func NewModule

func NewModule(m ast.Module) Module

NewModule returns a module metadata.

func (Module) Declarations

func (m Module) Declarations() []coreast.Declaration

Declarations reutrns declarations.

func (Module) ExportedBinds

func (m Module) ExportedBinds() map[string]types.Type

ExportedBinds returns exported binds.

func (Module) Name

func (m Module) Name() ast.ModuleName

Name returns a name.

Jump to

Keyboard shortcuts

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