Table of Contents

Class SourceLocation

Namespace
Xui.GPU.IR
Assembly
Xui.Core.dll

Represents a location in source code. Used to map IR nodes back to original C# source for error reporting.

public class SourceLocation
Inheritance
SourceLocation
Inherited Members

Properties

Column

Gets the column number (1-based).

public int Column { get; set; }

Property Value

int

FilePath

Gets the source file path.

public string FilePath { get; set; }

Property Value

string

Line

Gets the line number (1-based).

public int Line { get; set; }

Property Value

int

Methods

ToDisplayString()

Gets a formatted string representation of this location.

public string ToDisplayString()

Returns

string