Table of Contents

Class VBErrorExpression

Namespace
RDCore.SDK.Model.Errors
Assembly
RDCore.SDK.Protocol.dll

The expression an error was raised at.

public sealed record VBErrorExpression : IEquatable<VBErrorExpression>
Inheritance
VBErrorExpression
Implements
Inherited Members

Remarks

The client has the source text, and Location says where the expression is in it.

Constructors

VBErrorExpression(string, string, SourceLocation)

The expression an error was raised at.

public VBErrorExpression(string Kind, string SemanticId, SourceLocation Location)

Parameters

Kind string

What kind of expression it is: the name of the syntax node's type, such as VBBinaryOperatorExpressionNode.

SemanticId string

The identity of the expression's syntax node, as text.

Location SourceLocation

Where the expression is.

Remarks

The client has the source text, and Location says where the expression is in it.

Properties

Kind

What kind of expression it is: the name of the syntax node's type, such as VBBinaryOperatorExpressionNode.

public string Kind { get; init; }

Property Value

string

Location

Where the expression is.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

SemanticId

The identity of the expression's syntax node, as text.

public string SemanticId { get; init; }

Property Value

string