Sign in
go
/
tools
/
ce0925977bae8da7ac5971daffaf292d416e637f
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
extract
/
extract_function
/
extract_return_func_lit_nonnested.go
blob: c22db2a6ddd0ae57b633859adda470d254dae881 [
file
] [
log
] [
blame
]
package extract
import "go/ast"
func _() {
ast.Inspect(ast.NewIdent("a"), func(n ast.Node) bool {
if n == nil {
//@mark(exSt11, "if")
return true
}
return false
//@mark(exEn11, "false")
})
//@extractfunc(exSt11, exEn11)
}