types

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:35 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayElem

func ArrayElem(a *types.Array) types.Type

func ArrayLen

func ArrayLen(a *types.Array) int64

func ArrayString

func ArrayString(a *types.Array) string

func ArrayUnderlying

func ArrayUnderlying(a *types.Array) types.Type

func AssertableTo

func AssertableTo(V *types.Interface, T types.Type) bool

func AssignableTo

func AssignableTo(V, T types.Type) bool

func BasicInfo

func BasicInfo(b *types.Basic) types.BasicInfo

func BasicKind

func BasicKind(b *types.Basic) types.BasicKind

func BasicName

func BasicName(b *types.Basic) string

func BasicString

func BasicString(b *types.Basic) string

func BasicUnderlying

func BasicUnderlying(b *types.Basic) types.Type

func BuiltinExported

func BuiltinExported(obj *types.Builtin) bool

func BuiltinId

func BuiltinId(obj *types.Builtin) string

func BuiltinName

func BuiltinName(obj *types.Builtin) string

func BuiltinParent

func BuiltinParent(obj *types.Builtin) *types.Scope

func BuiltinPkg

func BuiltinPkg(obj *types.Builtin) *types.Package

func BuiltinPos

func BuiltinPos(obj *types.Builtin) token.Pos

func BuiltinString

func BuiltinString(obj *types.Builtin) string

func BuiltinType

func BuiltinType(obj *types.Builtin) types.Type

func ChanDir

func ChanDir(c *types.Chan) types.ChanDir

func ChanElem

func ChanElem(c *types.Chan) types.Type

func ChanString

func ChanString(c *types.Chan) string

func ChanUnderlying

func ChanUnderlying(c *types.Chan) types.Type

func CheckExpr

func CheckExpr(fset *token.FileSet, pkg *types.Package, pos token.Pos, expr ast.Expr, info *types.Info) error

func CheckerFiles

func CheckerFiles(check *types.Checker, files []*ast.File) error

func Comparable

func Comparable(T types.Type) bool

func ConfigCheck

func ConfigCheck(conf *types.Config, path string, fset *token.FileSet, files []*ast.File, info *types.Info) (*types.Package, error)

func ConstExported

func ConstExported(obj *types.Const) bool

func ConstId

func ConstId(obj *types.Const) string

func ConstName

func ConstName(obj *types.Const) string

func ConstParent

func ConstParent(obj *types.Const) *types.Scope

func ConstPkg

func ConstPkg(obj *types.Const) *types.Package

func ConstPos

func ConstPos(obj *types.Const) token.Pos

func ConstString

func ConstString(obj *types.Const) string

func ConstType

func ConstType(obj *types.Const) types.Type

func ConstVal

func ConstVal(obj *types.Const) constant.Value

func ConvertibleTo

func ConvertibleTo(V, T types.Type) bool

func Default

func Default(typ types.Type) types.Type

func ErrorError

func ErrorError(err types.Error) string

func Eval

func Eval(fset *token.FileSet, pkg *types.Package, pos token.Pos, expr string) (types.TypeAndValue, error)

func ExprString

func ExprString(x ast.Expr) string

func FuncExported

func FuncExported(obj *types.Func) bool

func FuncFullName

func FuncFullName(obj *types.Func) string

func FuncId

func FuncId(obj *types.Func) string

func FuncName

func FuncName(obj *types.Func) string

func FuncParent

func FuncParent(obj *types.Func) *types.Scope

func FuncPkg

func FuncPkg(obj *types.Func) *types.Package

func FuncPos

func FuncPos(obj *types.Func) token.Pos

func FuncScope

func FuncScope(obj *types.Func) *types.Scope

func FuncString

func FuncString(obj *types.Func) string

func FuncType

func FuncType(obj *types.Func) types.Type

func Id

func Id(pkg *types.Package, name string) string

func Identical

func Identical(x, y types.Type) bool

func IdenticalIgnoreTags

func IdenticalIgnoreTags(x, y types.Type) bool

func Implements

func Implements(V types.Type, T *types.Interface) bool

func InfoObjectOf

func InfoObjectOf(info *types.Info, id *ast.Ident) types.Object

func InfoTypeOf

func InfoTypeOf(info *types.Info, e ast.Expr) types.Type

func InitializerString

func InitializerString(init *types.Initializer) string

func InterfaceComplete

func InterfaceComplete(t *types.Interface) *types.Interface

func InterfaceEmbedded

func InterfaceEmbedded(t *types.Interface, i int) *types.Named

func InterfaceEmbeddedType

func InterfaceEmbeddedType(t *types.Interface, i int) types.Type

func InterfaceEmpty

func InterfaceEmpty(t *types.Interface) bool

func InterfaceExplicitMethod

func InterfaceExplicitMethod(t *types.Interface, i int) *types.Func

func InterfaceMethod

func InterfaceMethod(t *types.Interface, i int) *types.Func

func InterfaceNumEmbeddeds

func InterfaceNumEmbeddeds(t *types.Interface) int

func InterfaceNumExplicitMethods

func InterfaceNumExplicitMethods(t *types.Interface) int

func InterfaceNumMethods

func InterfaceNumMethods(t *types.Interface) int

func InterfaceString

func InterfaceString(t *types.Interface) string

func InterfaceUnderlying

func InterfaceUnderlying(t *types.Interface) types.Type

func IsInterface

func IsInterface(typ types.Type) bool

func LabelExported

func LabelExported(obj *types.Label) bool

func LabelId

func LabelId(obj *types.Label) string

func LabelName

func LabelName(obj *types.Label) string

func LabelParent

func LabelParent(obj *types.Label) *types.Scope

func LabelPkg

func LabelPkg(obj *types.Label) *types.Package

func LabelPos

func LabelPos(obj *types.Label) token.Pos

func LabelString

func LabelString(obj *types.Label) string

func LabelType

func LabelType(obj *types.Label) types.Type

func LookupFieldOrMethod

func LookupFieldOrMethod(T types.Type, addressable bool, pkg *types.Package, name string) (types.Object, []int, bool)

func MapElem

func MapElem(m *types.Map) types.Type

func MapKey

func MapKey(m *types.Map) types.Type

func MapString

func MapString(m *types.Map) string

func MapUnderlying

func MapUnderlying(m *types.Map) types.Type

func MethodSetAt

func MethodSetAt(s *types.MethodSet, i int) *types.Selection

func MethodSetLen

func MethodSetLen(s *types.MethodSet) int

func MethodSetLookup

func MethodSetLookup(s *types.MethodSet, pkg *types.Package, name string) *types.Selection

func MethodSetString

func MethodSetString(s *types.MethodSet) string

func MissingMethod

func MissingMethod(V types.Type, T *types.Interface, static bool) (*types.Func, bool)

func NamedMethod

func NamedMethod(t *types.Named, i int) *types.Func

func NamedNumMethods

func NamedNumMethods(t *types.Named) int

func NamedObj

func NamedObj(t *types.Named) *types.TypeName

func NamedString

func NamedString(t *types.Named) string

func NamedUnderlying

func NamedUnderlying(t *types.Named) types.Type

func NewArray

func NewArray(elem types.Type, len int64) *types.Array

func NewChan

func NewChan(dir types.ChanDir, elem types.Type) *types.Chan

func NewChecker

func NewChecker(conf *types.Config, fset *token.FileSet, pkg *types.Package, info *types.Info) *types.Checker

func NewConst

func NewConst(pos token.Pos, pkg *types.Package, name string, typ types.Type, val constant.Value) *types.Const

func NewField

func NewField(pos token.Pos, pkg *types.Package, name string, typ types.Type, embedded bool) *types.Var

func NewFunc

func NewFunc(pos token.Pos, pkg *types.Package, name string, sig *types.Signature) *types.Func

func NewInterface

func NewInterface(methods []*types.Func, embeddeds []*types.Named) *types.Interface

func NewInterfaceType

func NewInterfaceType(methods []*types.Func, embeddeds []types.Type) *types.Interface

func NewLabel

func NewLabel(pos token.Pos, pkg *types.Package, name string) *types.Label

func NewMap

func NewMap(key, elem types.Type) *types.Map

func NewMethodSet

func NewMethodSet(T types.Type) *types.MethodSet

func NewNamed

func NewNamed(obj *types.TypeName, underlying types.Type, methods []*types.Func) *types.Named

func NewPackage

func NewPackage(path, name string) *types.Package

func NewParam

func NewParam(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.Var

func NewPkgName

func NewPkgName(pos token.Pos, pkg *types.Package, name string, imported *types.Package) *types.PkgName

func NewPointer

func NewPointer(elem types.Type) *types.Pointer

func NewScope

func NewScope(parent *types.Scope, pos, end token.Pos, comment string) *types.Scope

func NewSignature

func NewSignature(recv *types.Var, params, results *types.Tuple, variadic bool) *types.Signature

func NewSlice

func NewSlice(elem types.Type) *types.Slice

func NewStruct

func NewStruct(fields []*types.Var, tags []string) *types.Struct

func NewTuple

func NewTuple(x ...*types.Var) *types.Tuple

func NewTypeName

func NewTypeName(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.TypeName

func NewVar

func NewVar(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.Var

func NilExported

func NilExported(obj *types.Nil) bool

func NilId

func NilId(obj *types.Nil) string

func NilName

func NilName(obj *types.Nil) string

func NilParent

func NilParent(obj *types.Nil) *types.Scope

func NilPkg

func NilPkg(obj *types.Nil) *types.Package

func NilPos

func NilPos(obj *types.Nil) token.Pos

func NilString

func NilString(obj *types.Nil) string

func NilType

func NilType(obj *types.Nil) types.Type

func ObjectString

func ObjectString(obj types.Object, qf types.Qualifier) string

func PackageComplete

func PackageComplete(pkg *types.Package) bool

func PackageImports

func PackageImports(pkg *types.Package) []*types.Package

func PackageName

func PackageName(pkg *types.Package) string

func PackagePath

func PackagePath(pkg *types.Package) string

func PackageScope

func PackageScope(pkg *types.Package) *types.Scope

func PackageString

func PackageString(pkg *types.Package) string

func PkgNameExported

func PkgNameExported(obj *types.PkgName) bool

func PkgNameId

func PkgNameId(obj *types.PkgName) string

func PkgNameImported

func PkgNameImported(obj *types.PkgName) *types.Package

func PkgNameName

func PkgNameName(obj *types.PkgName) string

func PkgNameParent

func PkgNameParent(obj *types.PkgName) *types.Scope

func PkgNamePkg

func PkgNamePkg(obj *types.PkgName) *types.Package

func PkgNamePos

func PkgNamePos(obj *types.PkgName) token.Pos

func PkgNameString

func PkgNameString(obj *types.PkgName) string

func PkgNameType

func PkgNameType(obj *types.PkgName) types.Type

func PointerElem

func PointerElem(p *types.Pointer) types.Type

func PointerString

func PointerString(p *types.Pointer) string

func PointerUnderlying

func PointerUnderlying(p *types.Pointer) types.Type

func RelativeTo

func RelativeTo(pkg *types.Package) types.Qualifier

func ScopeChild

func ScopeChild(s *types.Scope, i int) *types.Scope

func ScopeContains

func ScopeContains(s *types.Scope, pos token.Pos) bool

func ScopeEnd

func ScopeEnd(s *types.Scope) token.Pos

func ScopeInnermost

func ScopeInnermost(s *types.Scope, pos token.Pos) *types.Scope

func ScopeInsert

func ScopeInsert(s *types.Scope, obj types.Object) types.Object

func ScopeLen

func ScopeLen(s *types.Scope) int

func ScopeLookup

func ScopeLookup(s *types.Scope, name string) types.Object

func ScopeLookupParent

func ScopeLookupParent(s *types.Scope, name string, pos token.Pos) (*types.Scope, types.Object)

func ScopeNames

func ScopeNames(s *types.Scope) []string

func ScopeNumChildren

func ScopeNumChildren(s *types.Scope) int

func ScopeParent

func ScopeParent(s *types.Scope) *types.Scope

func ScopePos

func ScopePos(s *types.Scope) token.Pos

func ScopeString

func ScopeString(s *types.Scope) string

func SelectionIndex

func SelectionIndex(s *types.Selection) []int

func SelectionIndirect

func SelectionIndirect(s *types.Selection) bool

func SelectionKind

func SelectionKind(s *types.Selection) types.SelectionKind

func SelectionObj

func SelectionObj(s *types.Selection) types.Object

func SelectionRecv

func SelectionRecv(s *types.Selection) types.Type

func SelectionString

func SelectionString(s *types.Selection) string

func SelectionType

func SelectionType(s *types.Selection) types.Type

func SignatureParams

func SignatureParams(s *types.Signature) *types.Tuple

func SignatureRecv

func SignatureRecv(s *types.Signature) *types.Var

func SignatureResults

func SignatureResults(s *types.Signature) *types.Tuple

func SignatureString

func SignatureString(s *types.Signature) string

func SignatureUnderlying

func SignatureUnderlying(s *types.Signature) types.Type

func SignatureVariadic

func SignatureVariadic(s *types.Signature) bool

func SizesFor

func SizesFor(compiler, arch string) types.Sizes

func SliceElem

func SliceElem(s *types.Slice) types.Type

func SliceString

func SliceString(s *types.Slice) string

func SliceUnderlying

func SliceUnderlying(s *types.Slice) types.Type

func StdSizesAlignof

func StdSizesAlignof(s *types.StdSizes, T types.Type) int64

func StdSizesOffsetsof

func StdSizesOffsetsof(s *types.StdSizes, fields []*types.Var) []int64

func StdSizesSizeof

func StdSizesSizeof(s *types.StdSizes, T types.Type) int64

func StructField

func StructField(s *types.Struct, i int) *types.Var

func StructNumFields

func StructNumFields(s *types.Struct) int

func StructString

func StructString(s *types.Struct) string

func StructTag

func StructTag(s *types.Struct, i int) string

func StructUnderlying

func StructUnderlying(s *types.Struct) types.Type

func TupleAt

func TupleAt(t *types.Tuple, i int) *types.Var

func TupleLen

func TupleLen(t *types.Tuple) int

func TupleString

func TupleString(t *types.Tuple) string

func TupleUnderlying

func TupleUnderlying(t *types.Tuple) types.Type

func TypeAndValueAddressable

func TypeAndValueAddressable(tv types.TypeAndValue) bool

func TypeAndValueAssignable

func TypeAndValueAssignable(tv types.TypeAndValue) bool

func TypeAndValueHasOk

func TypeAndValueHasOk(tv types.TypeAndValue) bool

func TypeAndValueIsBuiltin

func TypeAndValueIsBuiltin(tv types.TypeAndValue) bool

func TypeAndValueIsNil

func TypeAndValueIsNil(tv types.TypeAndValue) bool

func TypeAndValueIsType

func TypeAndValueIsType(tv types.TypeAndValue) bool

func TypeAndValueIsValue

func TypeAndValueIsValue(tv types.TypeAndValue) bool

func TypeAndValueIsVoid

func TypeAndValueIsVoid(tv types.TypeAndValue) bool

func TypeNameExported

func TypeNameExported(obj *types.TypeName) bool

func TypeNameId

func TypeNameId(obj *types.TypeName) string

func TypeNameIsAlias

func TypeNameIsAlias(obj *types.TypeName) bool

func TypeNameName

func TypeNameName(obj *types.TypeName) string

func TypeNameParent

func TypeNameParent(obj *types.TypeName) *types.Scope

func TypeNamePkg

func TypeNamePkg(obj *types.TypeName) *types.Package

func TypeNamePos

func TypeNamePos(obj *types.TypeName) token.Pos

func TypeNameString

func TypeNameString(obj *types.TypeName) string

func TypeNameType

func TypeNameType(obj *types.TypeName) types.Type

func TypeString

func TypeString(typ types.Type, qf types.Qualifier) string

func VarAnonymous

func VarAnonymous(obj *types.Var) bool

func VarEmbedded

func VarEmbedded(obj *types.Var) bool

func VarExported

func VarExported(obj *types.Var) bool

func VarId

func VarId(obj *types.Var) string

func VarIsField

func VarIsField(obj *types.Var) bool

func VarName

func VarName(obj *types.Var) string

func VarParent

func VarParent(obj *types.Var) *types.Scope

func VarPkg

func VarPkg(obj *types.Var) *types.Package

func VarPos

func VarPos(obj *types.Var) token.Pos

func VarString

func VarString(obj *types.Var) string

func VarType

func VarType(obj *types.Var) types.Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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