mirror of
https://github.com/Smaug123/WoofWare.Whippet
synced 2025-10-05 15:58:39 +00:00
Add more helpers to Fantomas library (#7)
This commit is contained in:
@@ -17,3 +17,7 @@ module SynAttributes =
|
||||
Range = range0
|
||||
}
|
||||
)
|
||||
|
||||
/// Get all the attributes out of this SynAttributes, as a list of individual attributes.
|
||||
let toAttrs (attrs : SynAttributes) : SynAttribute list =
|
||||
attrs |> List.collect (fun attr -> attr.Attributes)
|
||||
|
Reference in New Issue
Block a user