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