go/ast.ChanType.Arrow (field)
9 uses
go/ast (current package)
ast.go#L461: Arrow token.Pos // position of "<-" (token.NoPos if there is no "<-")
go/parser
parser.go#L1028: return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value}
parser.go#L1570: p.errorExpected(typ.Arrow, "'chan'")
parser.go#L1572: arrow, typ.Begin, typ.Arrow = typ.Arrow, arrow, arrow
go/printer
nodes.go#L967: p.print(token.CHAN, x.Arrow, token.ARROW)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L708: if x.Arrow != 0 {
encode_ast.gen.go#L710: e.EncodeInt(int64(x.Arrow))
encode_ast.gen.go#L743: x.Arrow = token.Pos(d.DecodeInt())
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |