Struct UnbuiltName
A name written in the text of an UnbuiltExpressionTriviaNode.
public readonly record struct UnbuiltName : IEquatable<UnbuiltName>
- Implements
- Inherited Members
Constructors
UnbuiltName(string, SourceRange, bool)
A name written in the text of an UnbuiltExpressionTriviaNode.
public UnbuiltName(string Name, SourceRange Range, bool IsMember)
Parameters
NamestringThe name as it is written, without its type character (
bofb%) or the brackets of a foreign name (a bof[a b]).RangeSourceRangeWhere
Nameis written: inside the brackets of a foreign name.IsMemberboolWhether the name is written after a
.: it names a member of what is before the., not what is in scope.
Properties
IsMember
Whether the name is written after a .: it names a member of what is before the ., not what is in scope.
public bool IsMember { get; init; }
Property Value
Name
The name as it is written, without its type character (b of b%) or the brackets of a foreign name (a b of [a b]).
public string Name { get; init; }
Property Value
Range
Where Name is written: inside the brackets of a foreign name.
public SourceRange Range { get; init; }