Class SourceLocation
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
FilePath
Gets the source file path.
public string FilePath { get; set; }
Property Value
Line
Gets the line number (1-based).
public int Line { get; set; }
Property Value
Methods
ToDisplayString()
Gets a formatted string representation of this location.
public string ToDisplayString()