hectoparsec-0.1.0.0: Flexible and powerful parser combinators
Copyright(c) comp 2020
LicenseMIT
Maintaineronecomputer00@gmail.com
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hectoparsec.State

Contents

Description

The parser state.

Synopsis

Parser state

data State s Source #

The parser state.

Constructors

State 

Fields

initialState :: FilePath -> s -> State s Source #

Creates a State at the start of a stream.

makeErrorAt :: State s -> ErrorItem s e l -> ParseError s e l Source #

Creates a parse error from an error item located by some parsing state.