Class StepVariableCompiler.Error
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
An error within one formula.
public sealed record StepVariableCompiler.Error : IEquatable<StepVariableCompiler.Error>
- Inheritance
-
StepVariableCompiler.Error
- Implements
- Inherited Members
- Extension Methods
Constructors
Error(int, int, string, string)
An error within one formula.
public Error(int Line, int Column, string Id, string Message)
Parameters
Lineint1-based line within the formula; 0 when the error is about the formula as a whole.
Columnint1-based column within that line; 0 with
Line0.IdstringThe compiler's id, such as
CS0103, or FormulaShapeErrorId.MessagestringThe compiler's message.
Properties
Column
1-based column within that line; 0 with Line 0.
public int Column { get; init; }
Property Value
Id
The compiler's id, such as CS0103, or FormulaShapeErrorId.
public string Id { get; init; }
Property Value
Line
1-based line within the formula; 0 when the error is about the formula as a whole.
public int Line { get; init; }
Property Value
Message
The compiler's message.
public string Message { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.