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

Please use the new name of this class, LineColumnFile. This is a LineColumnFile that also includes the original index from which the Line and PosInLine were derived. More...


Source file:
Inheritance diagram for Loyc.Syntax.SourcePosAndIndex:
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.LineColumnFileAndIndex

Remarks

Please use the new name of this class, LineColumnFile. This is a LineColumnFile that also includes the original index from which the Line and PosInLine were derived.

Returned by SourceFileWithLineRemaps.IndexToLine.

Properties

int OriginalIndex [get]
 
- 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]
 

Public Member Functions

 SourcePosAndIndex (int originalIndex, string fileName, int line, int column)
 
- Public Member Functions inherited from Loyc.Syntax.LineColumnFile
 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()
 
- Protected fields inherited from Loyc.Syntax.SourcePos
string _fileName
 
- Protected fields inherited from Loyc.Syntax.LineAndCol
int _line
 
int _column