Versions in this module Expand all Collapse all v0 v0.0.2 Jan 4, 2019 v0.0.1 Dec 25, 2018 Changes in this version + var BuiltinNames = map[string]BuiltinId + var EmptyInterface = Interface + var MarkComplete = make([]*Func, 0) + var Typ = []*Basic + func RegisterTypesGob() + func RegisterTypesStablegob() + func TypeString(typ Type, qf Qualifier) string + func WriteSignature(buf *bytes.Buffer, sig *Signature, qf Qualifier) + func WriteType(buf *bytes.Buffer, typ Type, qf Qualifier) + type Array struct + Elem Type + Len int64 + func (a Array) Element() Type + func (t *Array) String() string + func (t *Array) Underlying() Type + type Basic struct + Info BasicInfo + Kind BasicKind + Name string + func (t *Basic) String() string + func (t *Basic) Underlying() Type + type BasicInfo int + const IsBoolean + const IsComplex + const IsConstType + const IsFloat + const IsInteger + const IsNumeric + const IsOrdered + const IsString + const IsUnsigned + const IsUntyped + type BasicKind int + const Bool + const Byte + const Complex128 + const Complex64 + const Float32 + const Float64 + const Int + const Int16 + const Int32 + const Int64 + const Int8 + const Invalid + const Rune + const String + const Uint + const Uint16 + const Uint32 + const Uint64 + const Uint8 + const Uintptr + const UnsafePointer + const UntypedBool + const UntypedComplex + const UntypedFloat + const UntypedInt + const UntypedNil + const UntypedRune + const UntypedString + type Builtin struct + BuiltinId BuiltinId + func (obj *Builtin) String() string + type BuiltinId int + const Alignof + const Append + const Assert + const Cap + const Close + const Complex + const Copy + const Delete + const Imag + const Len + const Make + const New + const Offsetof + const Panic + const Print + const Println + const Real + const Recover + const Sizeof + const Trace + type Chan struct + Dir ChanDir + Elem Type + func (c Chan) Element() Type + func (t *Chan) String() string + func (t *Chan) Underlying() Type + type ChanDir int + const RecvOnly + const SendOnly + const SendRecv + type Const struct + Kind ConstKind + func (obj *Const) String() string + type ConstKind int + const BoolConst + const ComplexConst + const FloatConst + const IntConst + const StringConst + const UnknownConst + type Func struct + func (obj *Func) String() string + func (obj Func) FullName() string + type Identifier struct + Name string + Path string + func (i Identifier) Exported() bool + func (i Identifier) String() string + type Interface struct + AllMethods []*Func + Embeddeds []*Reference + Methods []*Func + func (t *Interface) String() string + func (t *Interface) Underlying() Type + func (t Interface) Embedded(i int) Type + func (t Interface) Empty() bool + func (t Interface) ExplicitMethod(i int) *Func + func (t Interface) Method(i int) *Func + func (t Interface) NumEmbeddeds() int + func (t Interface) NumExplicitMethods() int + func (t Interface) NumMethods() int + type Label struct + func (obj *Label) String() string + type Map struct + Elem Type + Key Type + func (m Map) Element() Type + func (t *Map) String() string + func (t *Map) Underlying() Type + type Named struct + Methods []*Func + Type Type + func (t *Named) String() string + func (t *Named) Underlying() Type + func (t Named) Method(i int) *Func + func (t Named) NumMethods() int + type Nil struct + func (obj *Nil) String() string + type Obj struct + Type Type + func (obj Obj) Id() Identifier + func (obj Obj) Object() Obj + type Object interface + Object func() Obj + type PkgName struct + Imported string + func (obj *PkgName) String() string + type Pointer struct + Elem Type + func (p Pointer) Element() Type + func (t *Pointer) String() string + func (t *Pointer) Underlying() Type + type Qualifier func(string) string + func RelativeTo(pkg string) Qualifier + type Reference struct + func (r Reference) String() string + func (r Reference) Underlying() Type + type Signature struct + Params *Tuple + Recv *Var + Results *Tuple + Variadic bool + func (t *Signature) String() string + func (t *Signature) Underlying() Type + type Slice struct + Elem Type + func (s Slice) Element() Type + func (t *Slice) String() string + func (t *Slice) Underlying() Type + type Struct struct + Fields []*Var + Tags []string + func (s Struct) Field(i int) *Var + func (s Struct) NumFields() int + func (s Struct) Tag(i int) string + func (t *Struct) String() string + func (t *Struct) Underlying() Type + type Tuple struct + Vars []*Var + func (t *Tuple) String() string + func (t *Tuple) Underlying() Type + func (t Tuple) At(i int) *Var + func (t Tuple) Len() int + type Type interface + String func() string + Underlying func() Type + type TypeName struct + func (obj *TypeName) String() string + type Var struct + Anonymous bool + IsField bool + func (obj *Var) String() string