type go/ast.EmptyStmt
17 uses
go/ast (current package)
ast.go#L641: EmptyStmt struct {
ast.go#L790: func (s *EmptyStmt) Pos() token.Pos { return s.Semicolon }
ast.go#L812: func (s *EmptyStmt) End() token.Pos {
ast.go#L876: func (*EmptyStmt) stmtNode() {}
walk.go#L175: case *EmptyStmt:
go/parser
parser.go#L2488: s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"}
parser.go#L2492: s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: true}
go/printer
nodes.go#L1197: if _, isEmpty := s.(*ast.EmptyStmt); !isEmpty {
nodes.go#L1357: case *ast.EmptyStmt:
nodes.go#L1368: if e, isEmpty := s.Stmt.(*ast.EmptyStmt); isEmpty {
go/types
return.go#L22: case *ast.BadStmt, *ast.DeclStmt, *ast.EmptyStmt, *ast.SendStmt,
return.go#L82: if _, ok := list[i].(*ast.EmptyStmt); !ok {
return.go#L115: case *ast.BadStmt, *ast.DeclStmt, *ast.EmptyStmt, *ast.ExprStmt,
stmt.go#L109: if _, ok := list[i-1].(*ast.EmptyStmt); !ok {
stmt.go#L430: case *ast.BadStmt, *ast.EmptyStmt:
golang.org/x/tools/go/ast/inspector
typeof.go#L140: case *ast.EmptyStmt:
walk.go#L165: case *ast.EmptyStmt: