Table of Contents

Struct UnbuiltName

Namespace
RDCore.SDK.Model.AST.Abstract
Assembly
RDCore.SDK.dll

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

Name string

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]).

Range SourceRange

Where Name is written: inside the brackets of a foreign name.

IsMember bool

Whether 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

bool

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

string

Range

Where Name is written: inside the brackets of a foreign name.

public SourceRange Range { get; init; }

Property Value

SourceRange