Idris2Doc : Text.ILex.Dependent.Parser

Text.ILex.Dependent.Parser

(source)

Reexports

import public Data.ByteString
import public Data.TArray
import public Text.ByteBounds
import public Text.ILex.DFA
import public Text.ILex.Dependent.Bytes
import public Text.ParseError

Definitions

0 Stp : Type -> Type -> Type
Totality: total
Visibility: public export
0 Stps : Type -> Type -> Type
Totality: total
Visibility: public export
ignore : RExp True -> (RExp True, Stp s a)
Totality: total
Visibility: export
step : RExp True -> (In s -> a) -> (RExp True, Stp s a)
Totality: total
Visibility: export
vstep : RExp True -> (s -> a) -> (RExp True, Stp s a)
Totality: total
Visibility: export
bytes : RExp True -> (ByteString -> s -> a) -> (RExp True, Stp s a)
Totality: total
Visibility: export
string : RExp True -> (String -> s -> a) -> (RExp True, Stp s a)
Totality: total
Visibility: export
jsonSpace : RExp True
Totality: total
Visibility: export
jsonSpaces : RExp True
Totality: total
Visibility: export
jsonSpaced : Stps s a -> Stps s a
Totality: total
Visibility: export
0 Result : (Type -> Type) -> Type
Totality: total
Visibility: public export
stepTo : x -> (t `p`) -> (In s -> t) -> (x, Stp s (Result p))
Totality: total
Visibility: export
to : x -> (t `p`) -> (x, Stp t (Result p))
Totality: total
Visibility: export
0 DStep : (Type -> Type) -> Type -> Type
Totality: total
Visibility: public export
0 DSteps : (Type -> Type) -> Type -> Type
Totality: total
Visibility: public export
0 DFun : Type -> Type -> Type
Totality: total
Visibility: public export
0 Run : (Type -> Type) -> Type -> Type
Totality: total
Visibility: public export
0 DDFA : (Type -> Type) -> Type -> Type
  An array of arrays describing a lexer's state machine.

Totality: total
Visibility: public export
record IParser : Type -> Type -> Type
  A parser is a system of automata, where each
lexicographic token determines the next automaton
state plus lexer to use.

Totality: total
Visibility: public export
Constructor: 
P : lexer itpe -> itpe -> TArray lexer (DDFA lexer) -> TArray lexer (DFun e) -> TArray lexer (DFun (Either e a)) -> TEnum lexer lexers => IParser e a

Projections:
.en : ({rec:0} : IParser e a) -> TEnum (lexer {rec:0}) (lexers {rec:0})
.eoi : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun (Either e a))
.err : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun e)
.init : ({rec:0} : IParser e a) -> lexer {rec:0} (itpe {rec:0})
.istack : ({rec:0} : IParser e a) -> itpe {rec:0}
0 .itpe : IParser e a -> Type
.lex : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DDFA (lexer {rec:0}))
0 .lexer : IParser e a -> Type -> Type
.lexers : IParser e a -> Bits32
0 .lexer : IParser e a -> Type -> Type
Totality: total
Visibility: public export
0 lexer : IParser e a -> Type -> Type
Totality: total
Visibility: public export
0 .itpe : IParser e a -> Type
Totality: total
Visibility: public export
0 itpe : IParser e a -> Type
Totality: total
Visibility: public export
.init : ({rec:0} : IParser e a) -> lexer {rec:0} (itpe {rec:0})
Totality: total
Visibility: public export
init : ({rec:0} : IParser e a) -> lexer {rec:0} (itpe {rec:0})
Totality: total
Visibility: public export
.istack : ({rec:0} : IParser e a) -> itpe {rec:0}
Totality: total
Visibility: public export
istack : ({rec:0} : IParser e a) -> itpe {rec:0}
Totality: total
Visibility: public export
.lex : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DDFA (lexer {rec:0}))
Totality: total
Visibility: public export
lex : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DDFA (lexer {rec:0}))
Totality: total
Visibility: public export
.err : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun e)
Totality: total
Visibility: public export
err : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun e)
Totality: total
Visibility: public export
.eoi : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun (Either e a))
Totality: total
Visibility: public export
eoi : ({rec:0} : IParser e a) -> TArray (lexer {rec:0}) (DFun (Either e a))
Totality: total
Visibility: public export
.lexers : IParser e a -> Bits32
Totality: total
Visibility: public export
lexers : IParser e a -> Bits32
Totality: total
Visibility: public export
.en : ({rec:0} : IParser e a) -> TEnum (lexer {rec:0}) (lexers {rec:0})
Totality: total
Visibility: public export
en : ({rec:0} : IParser e a) -> TEnum (lexer {rec:0}) (lexers {rec:0})
Totality: total
Visibility: public export
0 PStep : IParser e a -> Type -> Type
Totality: total
Visibility: public export
0 PRun : IParser e a -> Type -> Type
Totality: total
Visibility: public export
0 PByteTrans : Nat -> IParser e a -> Type -> Type
  An array of arrays describing a lexer's stack machine.

Totality: total
Visibility: public export
0 PMachine : Nat -> IParser e a -> Type -> Type
  An array of arrays describing a lexer's stack machine.

Totality: total
Visibility: public export
arrErr : TEnum p n => Entries p (DFun (BBErr e)) -> TArray p (DFun (BBErr e))
Totality: total
Visibility: export
arrEOI : TEnum p n => Entries p (DFun (Either (BBErr e) a)) -> TArray p (DFun (Either (BBErr e) a))
Totality: total
Visibility: export
lexers : TEnum p n => Entries p (DDFA p) -> TArray p (DDFA p)
Totality: total
Visibility: export
failI : (p : IParser e a) -> p .lexer t -> In t -> Either e x
Totality: total
Visibility: export
eoi : (p : IParser e a) -> p .lexer t -> In t -> Either e a
Totality: total
Visibility: export