func go/ast.NewIdent
11 uses
go/ast (current package)
ast.go#L584: func NewIdent(name string) *Ident { return &Ident{token.NoPos, name, nil} }
filter.go#L496: return &File{doc, pos, NewIdent(pkg.Name), decls, pkg.Scope, imports, nil, comments}
go/doc
example.go#L351: s.Name = ast.NewIdent(n)
example.go#L359: Name: ast.NewIdent("main"),
example.go#L379: Name: ast.NewIdent("main"),
example.go#L400: newF.Name = ast.NewIdent("main")
example.go#L409: f.Name = ast.NewIdent("main")
exports.go#L28: var underscore = ast.NewIdent("_")
exports.go#L267: Sel: ast.NewIdent(typ.Sel.Name),
go/parser
parser.go#L880: n := ast.NewIdent("_")
go/types
struct.go#L128: name = ast.NewIdent("_")