InputSourceRange
A range in the original input text, measured in UTF-16 code units.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/Input/InputSourceRange.cs
Signature
Section titled “Signature”public sealed record InputSourceRange : IEquatable<InputSourceRange>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<InputSourceRange>
Constructors
Section titled “Constructors”InputSourceRange(int, int)
Section titled “InputSourceRange(int, int)”A range in the original input text, measured in UTF-16 code units.
public InputSourceRange(int Start, int Length)Parameters
Section titled “Parameters”Properties
Section titled “Properties”Length
Section titled “Length”Number of code units.
public int Length { get; init; }Returns
Section titled “Returns”Zero-based start position.
public int Start { get; init; }