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, ExpressionNode?)

Represents an Implements directive.

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

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location of the directive.

NameExpression ExpressionNode

Properties

Location

The Location of the directive.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

NameExpression

Gets an expression resolving the identifier name of the implemented interface.

public ExpressionNode NameExpression { get; }

Property Value

ExpressionNode