flix

0.67.0

Reflect.SourcePosition

enum SourcePosition with CoerceSource
case SourcePosition(Int32, Int32)

Represents a zero-width position within a source, identified by line and column coordinates.

Both line and column numbers use one-based indexing. (e.g., the first character of a source is at line 1, column 1).

Fields:

  1. line: The line number (1-based). Must be >= 1.
  2. column: The column number (1-based) within the specified line. Must be >= 1.

Instances

instance Coerce[SourcePosition]Source