Idris2Doc : Text.ByteBounds

Text.ByteBounds

(source)

Reexports

importpublic Text.Bounds
importpublic Text.FC
importpublic Text.ParseError

Definitions

recordBytePos : Type
  Position in a byte string or stream.

Totality: total
Visibility: public export
Constructor: 
BP : Nat->BytePos

Projection: 
.pos : BytePos->Nat

Hints:
EqBytePos
EqBytePos
InterpolationBytePos
InterpolationBytePos
OrdBytePos
OrdBytePos
ShowBytePos
ShowBytePos
.pos : BytePos->Nat
Totality: total
Visibility: public export
pos : BytePos->Nat
Totality: total
Visibility: public export
incLen : Nat->BytePos->BytePos
  Increases the position by the given length
of a byte sequence.

Totality: total
Visibility: export
dataByteBounds : Type
  A pair of `BytePos`s, describing a range in a byte stream, or `NoBB` for
use - for instance - with programmatically created tokens.

Totality: total
Visibility: public export
Constructors:
BB : BytePos->BytePos->ByteBounds
NoBB : ByteBounds

Hints:
EqByteBounds
EqByteBounds
InterpolationByteBounds
InterpolationByteBounds
MonoidByteBounds
MonoidByteBounds
SemigroupByteBounds
SemigroupByteBounds
ShowByteBounds
ShowByteBounds
recordByteBounded : Type->Type
  Pairs a value with the bounds in the byte stream from where it was parsed.

Totality: total
Visibility: public export
Constructor: 
B : ty->ByteBounds->ByteBoundedty

Projections:
.bounds : ByteBoundedty->ByteBounds
.val : ByteBoundedty->ty

Hints:
ApplicativeByteBounded
ApplicativeByteBounded
Eqty=>Eq (ByteBoundedty)
Eqty=>Eq (ByteBoundedty)
FoldableByteBounded
FoldableByteBounded
FunctorByteBounded
FunctorByteBounded
MonadByteBounded
MonadByteBounded
Showty=>Show (ByteBoundedty)
Showty=>Show (ByteBoundedty)
TraversableByteBounded
TraversableByteBounded
.val : ByteBoundedty->ty
Totality: total
Visibility: public export
val : ByteBoundedty->ty
Totality: total
Visibility: public export
.bounds : ByteBoundedty->ByteBounds
Totality: total
Visibility: public export
bounds : ByteBoundedty->ByteBounds
Totality: total
Visibility: public export
fromBytePos : ByteBoundeda->BytePos->ByteBoundeda
Totality: total
Visibility: export
recordPositionMap : Type
Totality: total
Visibility: public export
Constructor: 
PM : (size : Nat) ->IArraysizePosition->PositionMap

Projections:
.arr : ({rec:0} : PositionMap) ->IArray (size{rec:0}) Position
.size : PositionMap->Nat

Hints:
EqPositionMap
EqPositionMap
ShowPositionMap
ShowPositionMap
.size : PositionMap->Nat
Totality: total
Visibility: public export
size : PositionMap->Nat
Totality: total
Visibility: public export
.arr : ({rec:0} : PositionMap) ->IArray (size{rec:0}) Position
Totality: total
Visibility: public export
arr : ({rec:0} : PositionMap) ->IArray (size{rec:0}) Position
Totality: total
Visibility: public export
bytePositionMapFrom : Position->ByteString->PositionMap
Totality: total
Visibility: export
stringPositionMapFrom : Position->String->PositionMap
Totality: total
Visibility: export
bytePositionMap : ByteString->PositionMap
Totality: total
Visibility: export
stringPositionMap : String->PositionMap
Totality: total
Visibility: export
position : PositionMap=>BytePos->MaybePosition
Totality: total
Visibility: export
toBounds : PositionMap=>ByteBounds->Bounds
Totality: total
Visibility: export
toBounded : PositionMap=>ByteBoundeda->Boundeda
Totality: total
Visibility: export
0BBErr : Type->Type
Totality: total
Visibility: public export
prettyBBErr : Interpolatione=>BBErre->String
Totality: total
Visibility: export
toParseError : Origin->String->BBErre->ParseErrore
  Converts an error with byte bounds to a `ParseError` by pairing it with
an origin and the parsed string.

Totality: total
Visibility: export