go/ast.ParenExpr.Rparen (field)
8 uses
go/ast (current package)
ast.go#L324: Rparen token.Pos // position of ")"
ast.go#L513: func (x *ParenExpr) End() token.Pos { return x.Rparen + 1 }
go/parser
parser.go#L1056: return &ast.ParenExpr{Lparen: lparen, X: typ, Rparen: rparen}
parser.go#L1166: return &ast.ParenExpr{Lparen: lparen, X: x, Rparen: rparen}
go/printer
nodes.go#L814: p.print(x.Rparen, token.RPAREN)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2395: if x.Rparen != 0 {
encode_ast.gen.go#L2397: e.EncodeInt(int64(x.Rparen))
encode_ast.gen.go#L2424: x.Rparen = 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. |