Table of Contents

Class ImplementsDirectiveNode

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

Represents an Implements directive.

public record ImplementsDirectiveNode : DirectiveNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<ImplementsDirectiveNode>
Inheritance
ImplementsDirectiveNode
Implements
Inherited Members

Constructors

ImplementsDirectiveNode(SyntaxNodeId, SourceLocation, SyntaxNode?)

Represents an Implements directive.

public ImplementsDirectiveNode(SyntaxNodeId Identity, SourceLocation Location, SyntaxNode? NameExpression = null)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location of the directive.

NameExpression SyntaxNode

Properties

Location

The Location of the directive.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

NameExpression

The name expression resolving the implemented interface, or null for a half-typed Implements with no name yet.

[JsonIgnore]
public SyntaxNode? NameExpression { get; }

Property Value

SyntaxNode