|
Enhanced C#
Language of your choice: library documentation
|
Holds a line number (Line) and a position in the line (PosInLine). This class isn't really needed in Loyc but is separated from SourcePos in case anyone might want position without a filename. More...
Holds a line number (Line) and a position in the line (PosInLine). This class isn't really needed in Loyc but is separated from SourcePos in case anyone might want position without a filename.
Numbering starts at one for both Line and PosInLine. Line=0 signifies nowhere in particular, or an unknown location.
Public static fields | |
| static LineAndCol | Nowhere = new LineAndCol() |
Properties | |
| int | Line [get] |
| int | PosInLine [get] |
Public Member Functions | |
| LineAndCol (int Line, int PosInLine) | |
| override string | ToString () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Protected fields | |
| int | _line |
| int | _posInLine |
1.8.7