type go/ast.EmptyStmt
17 uses
go/ast (current package)
ast.go#L609: EmptyStmt struct {
ast.go#L757: func (s *EmptyStmt) Pos() token.Pos { return s.Semicolon }
ast.go#L779: func (s *EmptyStmt) End() token.Pos {
ast.go#L844: func (*EmptyStmt) stmtNode() {}
walk.go#L188: case *EmptyStmt:
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}
go/printer
nodes.go#L1084: if _, isEmpty := s.(*ast.EmptyStmt); !isEmpty {
nodes.go#L1243: case *ast.EmptyStmt:
nodes.go#L1253: if e, isEmpty := s.Stmt.(*ast.EmptyStmt); isEmpty {
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1170: func encode_ast_EmptyStmt(e *codec.Encoder, x *ast.EmptyStmt) {
encode_ast.gen.go#L1185: func decode_ast_EmptyStmt(d *codec.Decoder, p **ast.EmptyStmt) {
encode_ast.gen.go#L1191: *p = ref.(*ast.EmptyStmt)
encode_ast.gen.go#L1194: var x ast.EmptyStmt
encode_ast.gen.go#L1214: codec.Register(&ast.EmptyStmt{},
encode_ast.gen.go#L1215: func(e *codec.Encoder, x interface{}) { encode_ast_EmptyStmt(e, x.(*ast.EmptyStmt)) },
encode_ast.gen.go#L1217: var x *ast.EmptyStmt
 |
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. |