type go/ast.InterfaceType
26 uses
go/ast (current package)
ast.go#L468: InterfaceType struct {
ast.go#L522: func (x *InterfaceType) Pos() token.Pos { return x.Interface }
ast.go#L556: func (x *InterfaceType) End() token.Pos { return x.Methods.End() }
ast.go#L583: func (*InterfaceType) exprNode() {}
filter.go#L167: case *InterfaceType:
walk.go#L158: case *InterfaceType:
go/doc
exports.go#L81: func removeAnonymousField(name string, ityp *ast.InterfaceType) {
exports.go#L107: func (r *reader) filterFieldList(parent *namedType, fields *ast.FieldList, ityp *ast.InterfaceType) (removedFields bool) {
exports.go#L197: case *ast.InterfaceType:
filter.go#L44: case *ast.InterfaceType:
reader.go#L198: fixmap map[string][]*ast.InterfaceType
reader.go#L255: func (r *reader) remember(predecl string, typ *ast.InterfaceType) {
reader.go#L257: r.fixmap = make(map[string][]*ast.InterfaceType)
reader.go#L353: case *ast.InterfaceType:
go/parser
parser.go#L1237: func (p *parser) parseInterfaceType() *ast.InterfaceType {
parser.go#L1276: return &ast.InterfaceType{
parser.go#L2721: case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
resolver.go#L302: case *ast.InterfaceType:
go/printer
nodes.go#L423: case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
nodes.go#L1058: case *ast.InterfaceType:
go/types
decl.go#L723: x = &ast.InterfaceType{Methods: &ast.FieldList{List: []*ast.Field{{Type: x}}}}
expr.go#L249: *ast.InterfaceType,
expr.go#L1141: *ast.InterfaceType, *ast.MapType, *ast.ChanType:
exprstring.go#L144: case *ast.InterfaceType:
interface.go#L159: func (check *Checker) interfaceType(ityp *Interface, iface *ast.InterfaceType, def *TypeName) {
typexpr.go#L356: case *ast.InterfaceType: