Enhanced C#
Language of your choice: library documentation
Properties | List of all members
Loyc.Syntax.ISourceFile Interface Reference

Represents a text file with a file name and its textual content, plus the data necessary to convert between line-column positions and 0-based integer indexes. More...


Source file:
Inheritance diagram for Loyc.Syntax.ISourceFile:
Loyc.Syntax.IIndexPositionMapper Loyc.Syntax.IIndexToLine Loyc.Syntax.IHasFileName Loyc.Syntax.EmptySourceFile Loyc.Syntax.Lexing.LexerSourceFile< CharSource > Loyc.Syntax.SourceFile< CharSource > Loyc.Syntax.SourceFileWithLineRemaps Loyc.Syntax.Lexing.LexerSourceFile< CharSource >

Remarks

Represents a text file with a file name and its textual content, plus the data necessary to convert between line-column positions and 0-based integer indexes.

Properties

ICharSource Text [get]
 
- Properties inherited from Loyc.Syntax.IHasFileName
string FileName [get]
 

Additional Inherited Members

- Public Member Functions inherited from Loyc.Syntax.IIndexPositionMapper
int LineToIndex (int lineNo)
 Returns the index in a source file of the beginning of the specified line, where the first line is number 1, not 0. More...
 
int LineToIndex (ILineAndColumn pos)
 
- Public Member Functions inherited from Loyc.Syntax.IIndexToLine
ILineColumnFile IndexToLine (int index)
 Returns the position in a source file of the specified index. More...