|
Enhanced C#
Language of your choice: library documentation
|
Holds a reference to a source file (ISourceFile<char>) and the beginning and end indices of a range in that file. More...
Holds a reference to a source file (ISourceFile<char>) and the beginning and end indices of a range in that file.
Public static fields | |
| static readonly SourceRange | Nowhere = new SourceRange(EmptySourceFile.Default, -1, 0) |
Properties | |
| ISourceFile | Source [get] |
| int | StartIndex [get] |
| int | EndIndex [get] |
| int | Length [get] |
| UString | SourceText [get] |
| SourcePos | Start [get] |
| SourcePos | End [get] |
| char | this[int subIndex] [get] |
Public Member Functions | |
| SourceRange (ISourceFile source, int beginIndex=-1, int length=-1) | |
| SourceRange (ISourceFile source, Lexing.Token token) | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override string | ToString () |
Static Public Member Functions | |
| static bool | operator== (SourceRange a, SourceRange b) |
| static bool | operator!= (SourceRange a, SourceRange b) |
1.8.7