Class VerbCompletionSite
The argument of a verb that is being written, and what of it is typed.
public sealed record VerbCompletionSite : IEquatable<VerbCompletionSite>
- Inheritance
-
VerbCompletionSite
- Implements
- Inherited Members
Constructors
VerbCompletionSite(VerbArgument, string, IReadOnlyDictionary<string, string>)
The argument of a verb that is being written, and what of it is typed.
public VerbCompletionSite(VerbArgument Argument, string Typed, IReadOnlyDictionary<string, string> Written)
Parameters
ArgumentVerbArgumentThe argument.
TypedstringWhat is typed of it: the word being written, for an argument that is one word; everything after where it starts, for one that takes the rest of the line.
WrittenIReadOnlyDictionary<string, string>The arguments of the form that are written before it, by their Name: the line an expression is evaluated at.
Properties
Argument
The argument.
public VerbArgument Argument { get; init; }
Property Value
EvaluatedAt
The line an Expression is evaluated at (EvaluatedAt), as it is written; null when it is evaluated at none.
public string? EvaluatedAt { get; }
Property Value
Form
The arguments of the form the argument is of, in the order they are written.
public IReadOnlyList<VerbArgument> Form { get; init; }
Property Value
Setting
The setting a SettingValue is a value of (ValueOf), as its key is written before it; null when it is of no setting the form knows.
public SettingDescriptor? Setting { get; }
Property Value
Typed
What is typed of it: the word being written, for an argument that is one word; everything after where it starts, for one that takes the rest of the line.
public string Typed { get; init; }
Property Value
Written
The arguments of the form that are written before it, by their Name: the line an expression is evaluated at.
public IReadOnlyDictionary<string, string> Written { get; init; }