go/ast.ChanType.Dir (field)

11 uses

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

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

	go/printer
		nodes.go#L983: 			paren = t.Dir == ast.RECV
		nodes.go#L1069: 		switch x.Dir {

	go/types
		exprstring.go#L157: 		switch x.Dir {
		typexpr.go#L392: 		switch e.Dir {
		typexpr.go#L400: 			check.errorf(e, InvalidSyntaxTree, "unknown channel direction %d", e.Dir)

	golang.org/x/tools/internal/typesinternal
		zerovalue.go#L266: 			Dir:   dir,