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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.LabelExpressionExpressionNodeAn 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; }