specs

package
v0.0.0-...-003091f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gbio

type Gbio struct {
	FSet *token.FileSet
	Pkg  string
	// contains filtered or unexported fields
}

func (*Gbio) AddRaw

func (g *Gbio) AddRaw(decl RawDecl)

func (*Gbio) Errorf

func (g *Gbio) Errorf(pos token.Pos, format string, args ...interface{}) error

func (*Gbio) IsContextField

func (g *Gbio) IsContextField(f *ast.Field) bool

type RawCase

type RawCase struct {
	Recv *ast.Field
	ID   int
}

type RawDecl

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

type RawEnum

type RawEnum struct {
	Ident     *ast.Ident
	Constants []*ast.ValueSpec
}

type RawInterface

type RawInterface struct {
	Ident   *ast.Ident
	Methods []*ast.Field
}

type RawStruct

type RawStruct struct {
	Ident *ast.Ident
	Type  *ast.StructType
}

type RawVariant

type RawVariant struct {
	Ident *ast.Ident
	Type  *ast.InterfaceType
	Cases []*RawCase
}

Jump to

Keyboard shortcuts

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