go/ast.GenDecl.Lparen (field)
14 uses
go/ast (current package)
ast.go#L969: Lparen token.Pos // position of '(', if any
import.go#L24: if !d.Lparen.IsValid() {
go/doc
example.go#L342: Lparen: 1, // Need non-zero Lparen and Rparen so that printer
reader.go#L527: if len(d.Specs) == 1 && !d.Lparen.IsValid() {
go/format
format.go#L127: if d.Lparen.IsValid() {
go/parser
parser.go#L2426: Lparen: lparen,
go/printer
nodes.go#L1608: if d.Lparen.IsValid() || len(d.Specs) > 1 {
nodes.go#L1610: p.print(d.Lparen, token.LPAREN)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1686: if x.Lparen != 0 {
encode_ast.gen.go#L1688: e.EncodeInt(int64(x.Lparen))
encode_ast.gen.go#L1725: x.Lparen = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L430: nd.Lparen = 0
example.go#L462: Lparen: 1, // Need non-zero Lparen and Rparen so that printer
reader.go#L531: if len(d.Specs) == 1 && !d.Lparen.IsValid() {
![]() |
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. |