Class AttributeDirectiveNode
- Namespace
- RDCore.SDK.Model.AST.Directives
- Assembly
- RDCore.SDK.dll
A BoundNode representing a VB_Attribute directive.
public record AttributeDirectiveNode : DirectiveNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<AttributeDirectiveNode>
- Inheritance
-
AttributeDirectiveNode
- Implements
- Inherited Members
Constructors
AttributeDirectiveNode(SyntaxNodeId, SourceLocation, string, SyntaxNode, string?)
A BoundNode representing a VB_Attribute directive.
public AttributeDirectiveNode(SyntaxNodeId Identity, SourceLocation Location, string Name, SyntaxNode ValueExpression, string? Binding = null)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Locationof the directive.NamestringThe name of the attribute.
ValueExpressionSyntaxNodeAn expression node that statically evaluates to the value of the attribute.
BindingstringAn optional qualifier used for binding the attribute to the member it belongs to.
Properties
Binding
An optional qualifier used for binding the attribute to the member it belongs to.
public string? Binding { get; init; }
Property Value
Location
The Location of the directive.
public SourceLocation Location { get; init; }
Property Value
Name
The name of the attribute.
public string Name { get; init; }
Property Value
ValueExpression
An expression node that statically evaluates to the value of the attribute.
public SyntaxNode ValueExpression { get; init; }