ir

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: GPL-3.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constructor

type Constructor struct {
	Params []Param
	Result Type
}

type Decl

type Decl interface {
	// contains filtered or unexported methods
}

type Enum

type Enum struct {
	Name  string
	Cases []string
}

type Export

type Export struct {
	ExternalID string
	Name       string
	Extern     ExternType
}

type ExternPath

type ExternPath struct {
	Path Path
}

type ExternType

type ExternType interface {
	// contains filtered or unexported methods
}

type Field

type Field struct {
	Name string
	Type Type
}

type File

type File struct {
	Package *Package
	Uses    []Use
	Decls   []Decl
}

func Lower

func Lower(file *ast.File) (*File, error)

type Flags

type Flags struct {
	Name  string
	Flags []string
}

type Func

type Func struct {
	Name   string
	Params []Param
	Result Type
	Async  bool
	Static bool
}

type FuncType

type FuncType struct {
	Func *Func
}

type GenericType

type GenericType struct {
	Name string
	Args []Type
}

type Import

type Import struct {
	ExternalID string
	Name       string
	Extern     ExternType
}

type Include

type Include struct {
	Path    Path
	Renames []IncludeName
}

type IncludeName

type IncludeName struct {
	From string
	To   string
}

type InlineInterface

type InlineInterface struct {
	Items []InterfaceItem
}

type Interface

type Interface struct {
	Name  string
	Items []InterfaceItem
}

type InterfaceItem

type InterfaceItem interface {
	// contains filtered or unexported methods
}

type NamedType

type NamedType struct {
	Name     string
	Wildcard bool
}

type Package

type Package struct {
	Namespace string
	Name      string
	Version   string
}

type PackageRef

type PackageRef struct {
	Namespace string
	Name      string
}

type Param

type Param struct {
	Name string
	Type Type
}

type Path

type Path struct {
	Package  *PackageRef
	Segments []string
}

type PrimitiveType

type PrimitiveType struct {
	Name string
}

type Record

type Record struct {
	Name   string
	Fields []Field
}

type Resource

type Resource struct {
	Name  string
	Items []ResourceItem
}

type ResourceItem

type ResourceItem interface {
	// contains filtered or unexported methods
}

type TupleType

type TupleType struct {
	Items []Type
}

type Type

type Type interface {
	// contains filtered or unexported methods
}

type TypeDef

type TypeDef struct {
	Name string
	Type Type
}

type Use

type Use struct {
	From  Path
	Names []UseName
}

type UseName

type UseName struct {
	Name  string
	Alias string
}

type Variant

type Variant struct {
	Name  string
	Cases []VariantCase
}

type VariantCase

type VariantCase struct {
	Name string
	Type Type
}

type World

type World struct {
	Name  string
	Items []WorldItem
}

type WorldItem

type WorldItem interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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