summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/tools/go/ast/astutil/util.go
blob: ca71e3e1055387c89bf1d60130b420e93af04a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package astutil

import "go/ast"

// Unparen returns e with any enclosing parentheses stripped.
// Deprecated: use [ast.Unparen].
func Unparen(e ast.Expr) ast.Expr { return ast.Unparen(e) }