parsley-core-1.8.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Parsley.Internal.Backend.Machine.Types.Input

Description

Exposes abstractions for working with combined offset and position information. Input is used for static augmented information, and Input# is a raw combination of the two components.

Since: 1.8.0.0

Synopsis

Documentation

data Input# o Source #

Packages a dynamic offset with a dynamic position.

Since: 1.8.0.0

Constructors

Input# 

Fields

data Input o Source #

Packages known static information about offsets (via Offset) with static information about positions (currently unavailable).

Since: 1.8.0.0

Constructors

Input 

Fields

fromInput :: Input o -> Input# o Source #

Strips away static information, returning the raw dynamic components.

Since: 1.8.0.0

toInput :: Word -> Input# o -> Input o Source #

Given a unique identifier, forms a plainly annotated static combination of position and offset.

Since: 1.8.0.0