swiftlang / swiftlang/swift-syntax

FunctionDecl and similar should have method to get name as "hello(name:surname:)"

Open
#2,488 2 comments 0 reactions 1 assignee Claimed by @Matejkob View on GitHub
enhancement
Dominant language
Swift
Stars
3.7k
Forks
553
Avg merge
5d 13h
Merged PRs (30d)
16

Description

It is a common need to print a "name" of a function or variable like: `hello(name:)`, we should add a helper on DeclSyntax for this

See also: https://github.com/apple/swift-syntax/pull/1554/files#diff-9e8c10bde67713af07967e359f29218f8d475994f8618f07c6d7584db7ef1ca9R65-R77

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.