Class PrecompilerConstantDeclarationNode
- Namespace
- RDCore.SDK.Model.AST.Declarations
- Assembly
- RDCore.SDK.dll
An AST node representing a precompiler constant declaration.
public record PrecompilerConstantDeclarationNode : SyntaxNode, IEquatable<SyntaxNode>, IEquatable<PrecompilerConstantDeclarationNode>
- Inheritance
-
PrecompilerConstantDeclarationNode
- Implements
- Inherited Members
Constructors
PrecompilerConstantDeclarationNode(SyntaxNodeId, SourceLocation, ConstKind, ImmutableArray<SyntaxNode>)
An AST node representing a precompiler constant declaration.
public PrecompilerConstantDeclarationNode(SyntaxNodeId Identity, SourceLocation Location, ConstKind ConstKind, ImmutableArray<SyntaxNode> Children)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe source location of this module; the
SourceRangeis invalid.ConstKindConstKindThe scope kind of constant declaration.
ChildrenImmutableArray<SyntaxNode>
Properties
ConstKind
The scope kind of constant declaration.
public ConstKind ConstKind { get; init; }
Property Value
Location
The source location of this module; the SourceRange is invalid.
public SourceLocation Location { get; init; }