Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:35 +05 2020. DO NOT EDIT.
Index ¶
- func ArrayElem(a *types.Array) types.Type
- func ArrayLen(a *types.Array) int64
- func ArrayString(a *types.Array) string
- func ArrayUnderlying(a *types.Array) types.Type
- func AssertableTo(V *types.Interface, T types.Type) bool
- func AssignableTo(V, T types.Type) bool
- func BasicInfo(b *types.Basic) types.BasicInfo
- func BasicKind(b *types.Basic) types.BasicKind
- func BasicName(b *types.Basic) string
- func BasicString(b *types.Basic) string
- func BasicUnderlying(b *types.Basic) types.Type
- func BuiltinExported(obj *types.Builtin) bool
- func BuiltinId(obj *types.Builtin) string
- func BuiltinName(obj *types.Builtin) string
- func BuiltinParent(obj *types.Builtin) *types.Scope
- func BuiltinPkg(obj *types.Builtin) *types.Package
- func BuiltinPos(obj *types.Builtin) token.Pos
- func BuiltinString(obj *types.Builtin) string
- func BuiltinType(obj *types.Builtin) types.Type
- func ChanDir(c *types.Chan) types.ChanDir
- func ChanElem(c *types.Chan) types.Type
- func ChanString(c *types.Chan) string
- func ChanUnderlying(c *types.Chan) types.Type
- func CheckExpr(fset *token.FileSet, pkg *types.Package, pos token.Pos, expr ast.Expr, ...) error
- func CheckerFiles(check *types.Checker, files []*ast.File) error
- func Comparable(T types.Type) bool
- func ConfigCheck(conf *types.Config, path string, fset *token.FileSet, files []*ast.File, ...) (*types.Package, error)
- func ConstExported(obj *types.Const) bool
- func ConstId(obj *types.Const) string
- func ConstName(obj *types.Const) string
- func ConstParent(obj *types.Const) *types.Scope
- func ConstPkg(obj *types.Const) *types.Package
- func ConstPos(obj *types.Const) token.Pos
- func ConstString(obj *types.Const) string
- func ConstType(obj *types.Const) types.Type
- func ConstVal(obj *types.Const) constant.Value
- func ConvertibleTo(V, T types.Type) bool
- func Default(typ types.Type) types.Type
- func ErrorError(err types.Error) string
- func Eval(fset *token.FileSet, pkg *types.Package, pos token.Pos, expr string) (types.TypeAndValue, error)
- func ExprString(x ast.Expr) string
- func FuncExported(obj *types.Func) bool
- func FuncFullName(obj *types.Func) string
- func FuncId(obj *types.Func) string
- func FuncName(obj *types.Func) string
- func FuncParent(obj *types.Func) *types.Scope
- func FuncPkg(obj *types.Func) *types.Package
- func FuncPos(obj *types.Func) token.Pos
- func FuncScope(obj *types.Func) *types.Scope
- func FuncString(obj *types.Func) string
- func FuncType(obj *types.Func) types.Type
- func Id(pkg *types.Package, name string) string
- func Identical(x, y types.Type) bool
- func IdenticalIgnoreTags(x, y types.Type) bool
- func Implements(V types.Type, T *types.Interface) bool
- func InfoObjectOf(info *types.Info, id *ast.Ident) types.Object
- func InfoTypeOf(info *types.Info, e ast.Expr) types.Type
- func InitializerString(init *types.Initializer) string
- func InterfaceComplete(t *types.Interface) *types.Interface
- func InterfaceEmbedded(t *types.Interface, i int) *types.Named
- func InterfaceEmbeddedType(t *types.Interface, i int) types.Type
- func InterfaceEmpty(t *types.Interface) bool
- func InterfaceExplicitMethod(t *types.Interface, i int) *types.Func
- func InterfaceMethod(t *types.Interface, i int) *types.Func
- func InterfaceNumEmbeddeds(t *types.Interface) int
- func InterfaceNumExplicitMethods(t *types.Interface) int
- func InterfaceNumMethods(t *types.Interface) int
- func InterfaceString(t *types.Interface) string
- func InterfaceUnderlying(t *types.Interface) types.Type
- func IsInterface(typ types.Type) bool
- func LabelExported(obj *types.Label) bool
- func LabelId(obj *types.Label) string
- func LabelName(obj *types.Label) string
- func LabelParent(obj *types.Label) *types.Scope
- func LabelPkg(obj *types.Label) *types.Package
- func LabelPos(obj *types.Label) token.Pos
- func LabelString(obj *types.Label) string
- func LabelType(obj *types.Label) types.Type
- func LookupFieldOrMethod(T types.Type, addressable bool, pkg *types.Package, name string) (types.Object, []int, bool)
- func MapElem(m *types.Map) types.Type
- func MapKey(m *types.Map) types.Type
- func MapString(m *types.Map) string
- func MapUnderlying(m *types.Map) types.Type
- func MethodSetAt(s *types.MethodSet, i int) *types.Selection
- func MethodSetLen(s *types.MethodSet) int
- func MethodSetLookup(s *types.MethodSet, pkg *types.Package, name string) *types.Selection
- func MethodSetString(s *types.MethodSet) string
- func MissingMethod(V types.Type, T *types.Interface, static bool) (*types.Func, bool)
- func NamedMethod(t *types.Named, i int) *types.Func
- func NamedNumMethods(t *types.Named) int
- func NamedObj(t *types.Named) *types.TypeName
- func NamedString(t *types.Named) string
- func NamedUnderlying(t *types.Named) types.Type
- func NewArray(elem types.Type, len int64) *types.Array
- func NewChan(dir types.ChanDir, elem types.Type) *types.Chan
- func NewChecker(conf *types.Config, fset *token.FileSet, pkg *types.Package, info *types.Info) *types.Checker
- func NewConst(pos token.Pos, pkg *types.Package, name string, typ types.Type, ...) *types.Const
- func NewField(pos token.Pos, pkg *types.Package, name string, typ types.Type, embedded bool) *types.Var
- func NewFunc(pos token.Pos, pkg *types.Package, name string, sig *types.Signature) *types.Func
- func NewInterface(methods []*types.Func, embeddeds []*types.Named) *types.Interface
- func NewInterfaceType(methods []*types.Func, embeddeds []types.Type) *types.Interface
- func NewLabel(pos token.Pos, pkg *types.Package, name string) *types.Label
- func NewMap(key, elem types.Type) *types.Map
- func NewMethodSet(T types.Type) *types.MethodSet
- func NewNamed(obj *types.TypeName, underlying types.Type, methods []*types.Func) *types.Named
- func NewPackage(path, name string) *types.Package
- func NewParam(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.Var
- func NewPkgName(pos token.Pos, pkg *types.Package, name string, imported *types.Package) *types.PkgName
- func NewPointer(elem types.Type) *types.Pointer
- func NewScope(parent *types.Scope, pos, end token.Pos, comment string) *types.Scope
- func NewSignature(recv *types.Var, params, results *types.Tuple, variadic bool) *types.Signature
- func NewSlice(elem types.Type) *types.Slice
- func NewStruct(fields []*types.Var, tags []string) *types.Struct
- func NewTuple(x ...*types.Var) *types.Tuple
- func NewTypeName(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.TypeName
- func NewVar(pos token.Pos, pkg *types.Package, name string, typ types.Type) *types.Var
- func NilExported(obj *types.Nil) bool
- func NilId(obj *types.Nil) string
- func NilName(obj *types.Nil) string
- func NilParent(obj *types.Nil) *types.Scope
- func NilPkg(obj *types.Nil) *types.Package
- func NilPos(obj *types.Nil) token.Pos
- func NilString(obj *types.Nil) string
- func NilType(obj *types.Nil) types.Type
- func ObjectString(obj types.Object, qf types.Qualifier) string
- func PackageComplete(pkg *types.Package) bool
- func PackageImports(pkg *types.Package) []*types.Package
- func PackageName(pkg *types.Package) string
- func PackagePath(pkg *types.Package) string
- func PackageScope(pkg *types.Package) *types.Scope
- func PackageString(pkg *types.Package) string
- func PkgNameExported(obj *types.PkgName) bool
- func PkgNameId(obj *types.PkgName) string
- func PkgNameImported(obj *types.PkgName) *types.Package
- func PkgNameName(obj *types.PkgName) string
- func PkgNameParent(obj *types.PkgName) *types.Scope
- func PkgNamePkg(obj *types.PkgName) *types.Package
- func PkgNamePos(obj *types.PkgName) token.Pos
- func PkgNameString(obj *types.PkgName) string
- func PkgNameType(obj *types.PkgName) types.Type
- func PointerElem(p *types.Pointer) types.Type
- func PointerString(p *types.Pointer) string
- func PointerUnderlying(p *types.Pointer) types.Type
- func RelativeTo(pkg *types.Package) types.Qualifier
- func ScopeChild(s *types.Scope, i int) *types.Scope
- func ScopeContains(s *types.Scope, pos token.Pos) bool
- func ScopeEnd(s *types.Scope) token.Pos
- func ScopeInnermost(s *types.Scope, pos token.Pos) *types.Scope
- func ScopeInsert(s *types.Scope, obj types.Object) types.Object
- func ScopeLen(s *types.Scope) int
- func ScopeLookup(s *types.Scope, name string) types.Object
- func ScopeLookupParent(s *types.Scope, name string, pos token.Pos) (*types.Scope, types.Object)
- func ScopeNames(s *types.Scope) []string
- func ScopeNumChildren(s *types.Scope) int
- func ScopeParent(s *types.Scope) *types.Scope
- func ScopePos(s *types.Scope) token.Pos
- func ScopeString(s *types.Scope) string
- func SelectionIndex(s *types.Selection) []int
- func SelectionIndirect(s *types.Selection) bool
- func SelectionKind(s *types.Selection) types.SelectionKind
- func SelectionObj(s *types.Selection) types.Object
- func SelectionRecv(s *types.Selection) types.Type
- func SelectionString(s *types.Selection) string
- func SelectionType(s *types.Selection) types.Type
- func SignatureParams(s *types.Signature) *types.Tuple
- func SignatureRecv(s *types.Signature) *types.Var
- func SignatureResults(s *types.Signature) *types.Tuple
- func SignatureString(s *types.Signature) string
- func SignatureUnderlying(s *types.Signature) types.Type
- func SignatureVariadic(s *types.Signature) bool
- func SizesFor(compiler, arch string) types.Sizes
- func SliceElem(s *types.Slice) types.Type
- func SliceString(s *types.Slice) string
- func SliceUnderlying(s *types.Slice) types.Type
- func StdSizesAlignof(s *types.StdSizes, T types.Type) int64
- func StdSizesOffsetsof(s *types.StdSizes, fields []*types.Var) []int64
- func StdSizesSizeof(s *types.StdSizes, T types.Type) int64
- func StructField(s *types.Struct, i int) *types.Var
- func StructNumFields(s *types.Struct) int
- func StructString(s *types.Struct) string
- func StructTag(s *types.Struct, i int) string
- func StructUnderlying(s *types.Struct) types.Type
- func TupleAt(t *types.Tuple, i int) *types.Var
- func TupleLen(t *types.Tuple) int
- func TupleString(t *types.Tuple) string
- func TupleUnderlying(t *types.Tuple) types.Type
- func TypeAndValueAddressable(tv types.TypeAndValue) bool
- func TypeAndValueAssignable(tv types.TypeAndValue) bool
- func TypeAndValueHasOk(tv types.TypeAndValue) bool
- func TypeAndValueIsBuiltin(tv types.TypeAndValue) bool
- func TypeAndValueIsNil(tv types.TypeAndValue) bool
- func TypeAndValueIsType(tv types.TypeAndValue) bool
- func TypeAndValueIsValue(tv types.TypeAndValue) bool
- func TypeAndValueIsVoid(tv types.TypeAndValue) bool
- func TypeNameExported(obj *types.TypeName) bool
- func TypeNameId(obj *types.TypeName) string
- func TypeNameIsAlias(obj *types.TypeName) bool
- func TypeNameName(obj *types.TypeName) string
- func TypeNameParent(obj *types.TypeName) *types.Scope
- func TypeNamePkg(obj *types.TypeName) *types.Package
- func TypeNamePos(obj *types.TypeName) token.Pos
- func TypeNameString(obj *types.TypeName) string
- func TypeNameType(obj *types.TypeName) types.Type
- func TypeString(typ types.Type, qf types.Qualifier) string
- func VarAnonymous(obj *types.Var) bool
- func VarEmbedded(obj *types.Var) bool
- func VarExported(obj *types.Var) bool
- func VarId(obj *types.Var) string
- func VarIsField(obj *types.Var) bool
- func VarName(obj *types.Var) string
- func VarParent(obj *types.Var) *types.Scope
- func VarPkg(obj *types.Var) *types.Package
- func VarPos(obj *types.Var) token.Pos
- func VarString(obj *types.Var) string
- func VarType(obj *types.Var) types.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayString ¶
func AssignableTo ¶
func BasicString ¶
func BuiltinExported ¶
func BuiltinName ¶
func BuiltinString ¶
func ChanString ¶
func Comparable ¶
func ConfigCheck ¶
func ConstExported ¶
func ConstString ¶
func ConvertibleTo ¶
func ErrorError ¶
func ExprString ¶
func FuncExported ¶
func FuncFullName ¶
func FuncString ¶
func IdenticalIgnoreTags ¶
func InitializerString ¶
func InitializerString(init *types.Initializer) string
func InterfaceEmpty ¶
func InterfaceNumEmbeddeds ¶
func InterfaceNumMethods ¶
func InterfaceString ¶
func IsInterface ¶
func LabelExported ¶
func LabelString ¶
func LookupFieldOrMethod ¶
func MethodSetLen ¶
func MethodSetLookup ¶
func MethodSetString ¶
func MissingMethod ¶
func NamedNumMethods ¶
func NamedString ¶
func NewChecker ¶
func NewInterface ¶
func NewInterfaceType ¶
func NewPackage ¶
func NewPkgName ¶
func NewSignature ¶
func NewTypeName ¶
func NilExported ¶
func PackageComplete ¶
func PackageName ¶
func PackagePath ¶
func PackageString ¶
func PkgNameExported ¶
func PkgNameName ¶
func PkgNameString ¶
func PointerString ¶
func ScopeLookupParent ¶
func ScopeNames ¶
func ScopeNumChildren ¶
func ScopeString ¶
func SelectionIndex ¶
func SelectionIndirect ¶
func SelectionKind ¶
func SelectionKind(s *types.Selection) types.SelectionKind
func SelectionString ¶
func SignatureString ¶
func SignatureVariadic ¶
func SliceString ¶
func StructNumFields ¶
func StructString ¶
func TupleString ¶
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 TypeNameId ¶
func TypeNameIsAlias ¶
func TypeNameName ¶
func TypeNameString ¶
func VarAnonymous ¶
func VarEmbedded ¶
func VarExported ¶
func VarIsField ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.