Enhanced C#
Language of your choice: library documentation
|
Please use the new name of this class: LineAndColumn. Holds a line number (Line) and a position in the line (Column). This class isn't really needed in Loyc but is separated from SourcePos in case anyone might want position without a filename. More...
Please use the new name of this class: LineAndColumn. Holds a line number (Line) and a position in the line (Column). 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 Column. Line=0 signifies nowhere in particular, or an unknown location.
Public static fields | |
static LineAndCol | Nowhere = new LineAndCol() |
Properties | |
int | Line [get] |
int | Column [get] |
int | PosInLine [get] |
Properties inherited from Loyc.Syntax.ILineAndColumn | |
int | Line [get] |
int | Column [get] |
Public Member Functions | |
LineAndCol (int Line, int Column) | |
override string | ToString () |
override bool | Equals (object obj) |
override int | GetHashCode () |
Protected fields | |
int | _line |
int | _column |