Class
SourceText
class SourceText
Namespace: Raven.CodeAnalysis.Text
Assembly: Raven.CodeAnalysis.dll
Source file: SourceText.cs
Inheritance: Object → SourceText
Properties
2 items
Encoding: Encoding
No summary available.
Length: int
No summary available.
Indexers
1 item
Item[index: int]: char
No summary available.
Methods
28 items
ContentEquals(other: SourceText) -> bool
No summary available.
CopyTo(sourceIndex: int, destination: char[], destinationIndex: int, count: int) -> ()
No summary available.
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
Static member:
From(stream: Stream, encoding?: Encoding?) -> SourceText
No summary available.
Static member:
From(text: string, encoding?: Encoding?) -> SourceText
No summary available.
GetChangeRanges(oldText: SourceText) -> IReadOnlyList<TextChangeRange>
No summary available.
GetChecksum() -> ImmutableArray<byte>
No summary available.
GetContentHash() -> ImmutableArray<byte>
No summary available.
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetLineAndColumn(position: int) -> (int, int)
No summary available.
GetLineAndColumn(span: TextSpan) -> (int, int)
No summary available.
GetLineCount() -> int
No summary available.
GetLineLength(zeroBasedLine: int) -> int
No summary available.
GetLines() -> TextLineCollection
No summary available.
GetSubText(span: TextSpan) -> string
No summary available.
GetSubText(start: int, length: int) -> string
No summary available.
GetTextChanges(oldText: SourceText) -> IReadOnlyList<TextChange>
No summary available.
GetTextReader() -> TextReader
No summary available.
GetTextReader(position: int) -> TextReader
No summary available.
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
Replace(span: TextSpan, newText: string) -> SourceText
No summary available.
Replace(start: int, length: int, newText: string) -> SourceText
No summary available.
ToString(span: TextSpan) -> string
No summary available.
ToString() -> string
No summary available.
Overrides Object.ToString
WithChange(change: TextChange) -> SourceText
No summary available.
WithChange(position: int, newText: string) -> SourceText
No summary available.
Write(textWriter: TextWriter, cancellationToken: CancellationToken) -> ()
No summary available.