go/ast.FieldList.Opening (field)
12 uses
go/ast (current package)
ast.go#L221: Opening token.Pos // position of opening parenthesis/brace, if any
ast.go#L227: if f.Opening.IsValid() {
ast.go#L228: return f.Opening
go/parser
parser.go#L777: Opening: lbrace,
parser.go#L895: return &ast.FieldList{Opening: lparen, List: params, Closing: rparen}
parser.go#L985: Opening: lbrace,
go/printer
nodes.go#L323: p.print(fields.Opening, token.LPAREN)
nodes.go#L325: prevLine := p.lineFor(fields.Opening)
nodes.go#L440: lbrace := fields.Opening
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1278: if x.Opening != 0 {
encode_ast.gen.go#L1280: e.EncodeInt(int64(x.Opening))
encode_ast.gen.go#L1311: x.Opening = 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. |