Table of Contents

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

Line int

1-based line within the formula; 0 when the error is about the formula as a whole.

Column int

1-based column within that line; 0 with Line 0.

Id string

The compiler's id, such as CS0103, or FormulaShapeErrorId.

Message string

The compiler's message.

Properties

Column

1-based column within that line; 0 with Line 0.

public int Column { get; init; }

Property Value

int

Id

The compiler's id, such as CS0103, or FormulaShapeErrorId.

public string Id { get; init; }

Property Value

string

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

int

Message

The compiler's message.

public string Message { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.