Table of Contents

Class GoToStatementNode

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

Represents a statement that moves the current instruction pointer to a specified label.

public record GoToStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<GoToStatementNode>
Inheritance
GoToStatementNode
Implements
Inherited Members

Constructors

GoToStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode)

Represents a statement that moves the current instruction pointer to a specified label.

public GoToStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode LabelExpression)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

LabelExpression ExpressionNode

An expression that resolves to the local label this statement jumps to.

Properties

LabelExpression

An expression that resolves to the local label this statement jumps to.

public ExpressionNode LabelExpression { get; init; }

Property Value

ExpressionNode