Header menu logo XParsec

ReadableImmutableArray<'T> Type

An immutable array that can be read as input by the parser.

Constructors

Constructor Description

ReadableImmutableArray(arr)

Full Usage: ReadableImmutableArray(arr)

Parameters:
Returns: ReadableImmutableArray<'T>
arr : ImmutableArray<'T>
Returns: ReadableImmutableArray<'T>

Instance members

Instance member Description

this[index]

Full Usage: this[index]

Parameters:
    index : int

Returns: 'T
index : int
Returns: 'T

this.Length

Full Usage: this.Length

Returns: int
Returns: int

this.Slice

Full Usage: this.Slice

Parameters:
    newStart : int
    newLength : int

Returns: ReadableImmutableArraySlice<'T>
newStart : int
newLength : int
Returns: ReadableImmutableArraySlice<'T>

this.SpanSlice

Full Usage: this.SpanSlice

Parameters:
    index : int
    count : int

Returns: ReadOnlySpan<'T>
index : int
count : int
Returns: ReadOnlySpan<'T>

this.TryItem

Full Usage: this.TryItem

Parameters:
    index : int

Returns: 'T voption
index : int
Returns: 'T voption

Type something to start searching.