mirror of
https://github.com/Smaug123/WoofWare.Whippet
synced 2025-10-05 15:58:39 +00:00
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
15 lines
571 B
Forth
15 lines
571 B
Forth
namespace WoofWare.Whippet.Fantomas
|
|
|
|
open Fantomas.FCS.Syntax
|
|
|
|
/// Methods for manipulating the SynIdent AST type. This is basically an Ident, but specifically one which is appearing
|
|
/// in the AST at some position.
|
|
[<RequireQualifiedAccess>]
|
|
module SynIdent =
|
|
/// Create a SynIdent from an Ident.
|
|
let inline createI (i : Ident) : SynIdent = SynIdent.SynIdent (i, None)
|
|
|
|
/// Create a SynIdent from a string (which we'll convert into an Ident for you en route).
|
|
let inline createS (i : string) : SynIdent =
|
|
SynIdent.SynIdent (Ident.create i, None)
|