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

A SourcePos 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.SourcePos Loyc.Syntax.LineAndCol

Remarks

A SourcePos 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 PosInLine [get]
 

Public Member Functions

 SourcePosAndIndex (int originalIndex, 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.LineAndCol
 LineAndCol (int Line, int PosInLine)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Additional Inherited Members

- Public static fields inherited from Loyc.Syntax.SourcePos
new static SourcePos Nowhere = new SourcePos()
 
- 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 _posInLine