Enhanced C#
Language of your choice: library documentation
Public Member Functions | List of all members
Loyc.Syntax.LineColumnFile Class Reference

This is the new (and recommended) name for SourcePos. It's named after what it contains: a line number, column number and file name. Numbering starts at one for both Line and Column. More...


Source file:
Inheritance diagram for Loyc.Syntax.LineColumnFile:
Loyc.Syntax.SourcePos Loyc.Syntax.LineAndColumn Loyc.Syntax.ILineColumnFile Loyc.Syntax.LineAndCol Loyc.Syntax.ILineAndColumn Loyc.Syntax.IHasFileName Loyc.Syntax.ILineAndColumn Loyc.Syntax.SourcePosAndIndex Loyc.Syntax.LineColumnFileAndIndex

Remarks

This is the new (and recommended) name for SourcePos. It's named after what it contains: a line number, column number and file name. Numbering starts at one for both Line and Column.

Public Member Functions

 LineColumnFile (int Line, int PosInLine, string FileName)
 
 LineColumnFile (string FileName, int Line, int PosInLine)
 
- Public Member Functions inherited from Loyc.Syntax.SourcePos
 SourcePos (string FileName, int Line, int PosInLine)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from Loyc.Syntax.LineAndColumn
 LineAndColumn (int Line, int Column)
 
- Public Member Functions inherited from Loyc.Syntax.LineAndCol
 LineAndCol (int Line, int Column)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Additional Inherited Members

- Public static fields inherited from Loyc.Syntax.SourcePos
new static LineColumnFile Nowhere = new LineColumnFile()
 
- Public static fields inherited from Loyc.Syntax.LineAndCol
static LineAndCol Nowhere = new LineAndCol()
 
- Properties inherited from Loyc.Syntax.SourcePos
string FileName [get]
 
- Properties inherited from Loyc.Syntax.LineAndCol
int Line [get]
 
int Column [get]
 
int PosInLine [get]
 
- Properties inherited from Loyc.Syntax.ILineAndColumn
int Line [get]
 
int Column [get]
 
- Properties inherited from Loyc.Syntax.IHasFileName
string FileName [get]
 
- Protected fields inherited from Loyc.Syntax.SourcePos
string _fileName
 
- Protected fields inherited from Loyc.Syntax.LineAndCol
int _line
 
int _column