Table of Contents

Class LineNumberNode

Namespace
RDCore.SDK.Model.AST.Abstract
Assembly
RDCore.SDK.dll

A line label directive that represents a line number, which is procedure metadata that defines a named symbol for various jump targets.

public record LineNumberNode : LineLabelNode, IEquatable<SyntaxNode>, IEquatable<DirectiveNode>, IEquatable<LineLabelNode>, IEquatable<LineNumberNode>
Inheritance
LineNumberNode
Implements
Inherited Members

Remarks

The string representation of the number is the label name.

Constructors

LineNumberNode(SyntaxNodeId, SourceLocation, int)

A line label directive that represents a line number, which is procedure metadata that defines a named symbol for various jump targets.

public LineNumberNode(SyntaxNodeId Identity, SourceLocation SourceLocation, int Number)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The document location (Uri+Range) of the bound expression.

Number int

The label name.

Remarks

The string representation of the number is the label name.

Properties

Number

The label name.

public int Number { get; init; }

Property Value

int