Source file src/cmd/vendor/golang.org/x/tools/go/ast/astutil/util.go

     1  // Copyright 2015 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package astutil
     6  
     7  import "go/ast"
     8  
     9  // Unparen returns e with any enclosing parentheses stripped.
    10  // Deprecated: use [ast.Unparen].
    11  //
    12  //go:fix inline
    13  func Unparen(e ast.Expr) ast.Expr { return ast.Unparen(e) }
    14  

View as plain text