Header menu logo XParsec

ReadableArray<'T> Type

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

Constructors

Constructor Description

ReadableArray(arr)

Full Usage: ReadableArray(arr)

Parameters:
    arr : 'T array

Returns: ReadableArray<'T>
arr : 'T array
Returns: ReadableArray<'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: ReadableArraySlice<'T>
newStart : int
newLength : int
Returns: ReadableArraySlice<'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.