Cursor<'T, 'State, 'Input> Type
An immutable view of a Reader{T,S,I} at a fixed Position{S}.
A Reader is a mutable cursor, but the arms of an F# match must all start
from the same input. Active parsers therefore take a Cursor and, on success,
return the value they parsed together with the Cursor after it. A failed
pattern leaves its input untouched, so nested and alternative patterns backtrack
safely, the same way <|> does.
The position includes the user state, so state changes made by a pattern that does not match are rolled back too.
Record fields
| Record Field | Description |
|
|
|
Instance members
| Instance member | Description |
|
|
Full Usage:
this.AtEnd
Returns: bool
|
|
Full Usage:
this.Index
Returns: int
|
|
Full Usage:
this.Peek
Returns: 'T voption
|
|
Full Usage:
this.State
Returns: 'State
|
XParsec.ActiveParsers