mirror of
https://github.com/Smaug123/WoofWare.Whippet
synced 2025-10-06 00:08:39 +00:00
Initial import of Fantomas client library (#6)
Some checks failed
.NET / build (Debug) (push) Has been cancelled
.NET / build (Release) (push) Has been cancelled
.NET / analyzers (push) Has been cancelled
.NET / build-nix (push) Has been cancelled
.NET / check-dotnet-format (push) Has been cancelled
.NET / check-nix-format (push) Has been cancelled
.NET / Check links (push) Has been cancelled
.NET / Check flake (push) Has been cancelled
.NET / nuget-pack (push) Has been cancelled
.NET / expected-pack (push) Has been cancelled
.NET / all-required-checks-complete (push) Has been cancelled
Some checks failed
.NET / build (Debug) (push) Has been cancelled
.NET / build (Release) (push) Has been cancelled
.NET / analyzers (push) Has been cancelled
.NET / build-nix (push) Has been cancelled
.NET / check-dotnet-format (push) Has been cancelled
.NET / check-nix-format (push) Has been cancelled
.NET / Check links (push) Has been cancelled
.NET / Check flake (push) Has been cancelled
.NET / nuget-pack (push) Has been cancelled
.NET / expected-pack (push) Has been cancelled
.NET / all-required-checks-complete (push) Has been cancelled
This commit is contained in:
13
WoofWare.Whippet.Fantomas/SynSimplePat.fs
Normal file
13
WoofWare.Whippet.Fantomas/SynSimplePat.fs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace WoofWare.Whippet.Fantomas
|
||||
|
||||
open Fantomas.FCS.Syntax
|
||||
open Fantomas.FCS.Text.Range
|
||||
|
||||
/// Methods for manipulating the SynSimplePat AST type. This type represents the left-hand side of a pattern match,
|
||||
/// e.g. the `x` in `fun x -> foo`.
|
||||
[<RequireQualifiedAccess>]
|
||||
module SynSimplePat =
|
||||
|
||||
/// Create a SynSimplePat that is a bare identifier, no type information, non-optional.
|
||||
let createId (id : Ident) : SynSimplePat =
|
||||
SynSimplePat.Id (id, None, false, false, false, range0)
|
Reference in New Issue
Block a user