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