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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Locationof the directive.NameExpressionExpressionNode
Properties
Location
The Location of the directive.
public SourceLocation Location { get; init; }
Property Value
NameExpression
Gets an expression resolving the identifier name of the implemented interface.
public ExpressionNode NameExpression { get; }