Class VBErrorExpression
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
KindstringWhat kind of expression it is: the name of the syntax node's type, such as
VBBinaryOperatorExpressionNode.SemanticIdstringThe identity of the expression's syntax node, as text.
LocationSourceLocationWhere 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
Location
Where the expression is.
public SourceLocation Location { get; init; }
Property Value
SemanticId
The identity of the expression's syntax node, as text.
public string SemanticId { get; init; }