Class LineLabelNode
A syntax node representing a line label directive, which is procedure metadata that defines a named symbol for various jump targets.
public record LineLabelNode : DirectiveNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<LineLabelNode>
- Inheritance
-
LineLabelNode
- Implements
- Derived
- Inherited Members
Constructors
LineLabelNode(SyntaxNodeId, SourceLocation, string)
A syntax node representing a line label directive, which is procedure metadata that defines a named symbol for various jump targets.
public LineLabelNode(SyntaxNodeId Identity, SourceLocation SourceLocation, string Name)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.NamestringThe label name.
Properties
Name
The label name.
public string Name { get; init; }