go/ast.EmptyStmt.Semicolon (field)
9 uses
go/ast (current package)
ast.go#L610: Semicolon token.Pos // position of following ";"
ast.go#L757: func (s *EmptyStmt) Pos() token.Pos { return s.Semicolon }
ast.go#L781: return s.Semicolon
ast.go#L783: return s.Semicolon + 1 /* len(";") */
go/parser
parser.go#L2259: s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"}
parser.go#L2263: s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: true}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1174: if x.Semicolon != 0 {
encode_ast.gen.go#L1176: e.EncodeInt(int64(x.Semicolon))
encode_ast.gen.go#L1203: x.Semicolon = 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. |