Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location of the directive.

Name string

The name of the attribute.

ValueExpression SyntaxNode

An expression node that statically evaluates to the value of the attribute.

Binding string

An 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

string

Location

The Location of the directive.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Name

The name of the attribute.

public string Name { get; init; }

Property Value

string

ValueExpression

An expression node that statically evaluates to the value of the attribute.

public SyntaxNode ValueExpression { get; init; }

Property Value

SyntaxNode