TextFilePosition Class
Definition
A SourcePosition in a text source code file.
public sealed class TextFilePosition : SourceFilePosition<TextFilePosition, TextFile>, IEquatable<SourcePosition>, IEqualityOperators<SourcePosition, SourcePosition, Boolean>, ITextSourcePosition
Properties
Name | Description |
---|---|
Zero based index of the start column of the position in the text file. | |
Number, i.e. 1 based index, of the start column of the position in the text file. | |
The start line of the text source. | |
Zero based index of the start line of the position in the text file. | |
Number, i.e. 1 based index, of the start line of the position in the text file. | |
The text source. |
Methods
Name | Description |
---|---|
Create a new TextFilePosition with zero width at the start of this TextFilePosition. | |
Operators
Name | Description |
---|---|
Combines two TextFilePositions to give a new SourcePosition that includes both |
Last modified: 22 November 2024