go/ast.ChanType.Dir (field)

9 uses

	go/ast (current package)
		ast.go#L462: 		Dir   ChanDir   // channel direction

	go/parser
		parser.go#L1028: 	return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value}
		parser.go#L1568: 				if typ.Dir == ast.RECV {
		parser.go#L1573: 				dir, typ.Dir = typ.Dir, ast.RECV

	go/printer
		nodes.go#L961: 		switch x.Dir {

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L712: 	if x.Dir != 0 {
		encode_ast.gen.go#L714: 		e.EncodeInt(int64(x.Dir))
		encode_ast.gen.go#L745: 			x.Dir = ast.ChanDir(d.DecodeInt())