Header menu logo XParsec

ReadableString Type

A string that can be read as input by the parser.

Constructors

Constructor Description

ReadableString(s)

Full Usage: ReadableString(s)

Parameters:
    s : string

Returns: ReadableString
s : string
Returns: ReadableString

Instance members

Instance member Description

this[index]

Full Usage: this[index]

Parameters:
    index : int

Returns: char
index : int
Returns: char

this.Length

Full Usage: this.Length

Returns: int
Returns: int

this.Slice

Full Usage: this.Slice

Parameters:
    newStart : int
    newLength : int

Returns: ReadableStringSlice
newStart : int
newLength : int
Returns: ReadableStringSlice

this.SpanSlice

Full Usage: this.SpanSlice

Parameters:
    index : int
    count : int

Returns: ReadOnlySpan<char>
index : int
count : int
Returns: ReadOnlySpan<char>

this.TryItem

Full Usage: this.TryItem

Parameters:
    index : int

Returns: char voption
index : int
Returns: char voption

Type something to start searching.