Reader<'T, 'State, 'Input, 'InputSlice> Type
A cursor that tracks the current position in the input and the user state. It is used by the parser to read from the input and manage state.
Constructors
Constructor | Description |
Full Usage:
Reader(input, state, index)
Parameters:
'Input
state : 'State
index : int64
Returns: Reader<'T, 'State, 'Input, 'InputSlice>
|
|
Instance members
Instance member | Description |
Full Usage:
this.AtEnd
Returns: bool
|
|
Full Usage:
this.Current
Returns: 'T voption
|
|
|
|
Full Usage:
this.Index
|
|
Full Usage:
this.Input
Returns: 'Input
|
|
Full Usage:
this.Length
Returns: int64
|
|
Full Usage:
this.Peek
Returns: 'T voption
|
|
|
|
Full Usage:
this.Position
|
|
Full Usage:
this.Skip
|
|
Full Usage:
this.SkipN
Parameters:
int64
|
|
Full Usage:
this.SkipN
Parameters:
int
|
|
Full Usage:
this.Slice
Parameters:
int64
newLength : int64
newState : 'a
Returns: Reader<'T, 'a, 'InputSlice, 'InputSlice>
|
|
Full Usage:
this.Slice
Parameters:
int64
newLength : int64
Returns: Reader<'T, unit, 'InputSlice, 'InputSlice>
|
|
Full Usage:
this.State
|
|
Full Usage:
this.TryRead
Returns: 'T voption
|
|