go/ast.GenDecl.Rparen (field)
12 uses
go/ast (current package)
ast.go#L971: Rparen token.Pos // position of ')', if any
ast.go#L992: if d.Rparen.IsValid() {
ast.go#L993: return d.Rparen + 1
import.go#L46: rParenLine := lineAt(fset, d.Rparen)
import.go#L49: fset.File(d.Rparen).MergeLine(rParenLine)
go/doc
example.go#L343: Rparen: 1, // treats this as a factored import.
go/parser
parser.go#L2428: Rparen: rparen,
go/printer
nodes.go#L1637: p.print(d.Rparen, token.RPAREN)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1694: if x.Rparen != 0 {
encode_ast.gen.go#L1696: e.EncodeInt(int64(x.Rparen))
encode_ast.gen.go#L1729: x.Rparen = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L463: Rparen: 1, // treats this as a factored import.
![]() |
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. |