type go/ast.ChanType
20 uses
go/ast (current package)
ast.go#L486: ChanType struct {
ast.go#L528: func (x *ChanType) Pos() token.Pos { return x.Begin }
ast.go#L562: func (x *ChanType) End() token.Pos { return x.Value.End() }
ast.go#L589: func (*ChanType) exprNode() {}
filter.go#L179: case *ChanType:
walk.go#L165: case *ChanType:
go/doc
exports.go#L204: case *ast.ChanType:
go/parser
parser.go#L1330: func (p *parser) parseChanType() *ast.ChanType {
parser.go#L1352: return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value}
parser.go#L1838: if typ, ok := x.(*ast.ChanType); ok {
parser.go#L1850: typ, ok = typ.Value.(*ast.ChanType)
parser.go#L2749: case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
go/printer
nodes.go#L423: case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
nodes.go#L982: case *ast.ChanType:
nodes.go#L1068: case *ast.ChanType:
go/types
expr.go#L281: *ast.ChanType:
expr.go#L1166: *ast.InterfaceType, *ast.MapType, *ast.ChanType:
exprstring.go#L155: case *ast.ChanType:
typexpr.go#L385: case *ast.ChanType:
golang.org/x/tools/internal/typesinternal
zerovalue.go#L265: return &ast.ChanType{