Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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.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]
 
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 (LineAndCol pos)
 
- Public Member Functions inherited from Loyc.Syntax.IIndexToLine
SourcePos IndexToLine (int index)
 Returns the position in a source file of the specified index. More...