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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Locationof the directive.NameExpressionSyntaxNode
Properties
Location
The Location of the directive.
public SourceLocation Location { get; init; }
Property Value
NameExpression
The name expression resolving the implemented interface, or null for a half-typed
Implements with no name yet.
[JsonIgnore]
public SyntaxNode? NameExpression { get; }