swift-syntax
swift-syntax copied to clipboard
Please add a `TriviaPiece.commentValue` property
Description
There are four kinds of comment tracked by TriviaPiece
. It'd be a nice convenience to be able to extract the string values of those comments. May I suggest something like:
extension TriviaPiece {
public var commentValue: String? { get }
}