Idris2Doc : Text.ILex.Lexer

Text.ILex.Lexer

(source)

Reexports

importpublic Data.Array
importpublic Data.List
importpublic Data.Prim.Bits32
importpublic Text.ILex.RExp

Definitions

recordIndex : Bits32->Type
Totality: total
Visibility: public export
Constructor: 
I : (val : Bits32) -> {auto0_ : val<n} ->Indexn

Projections:
0.prf : ({rec:0} : Indexn) ->val{rec:0}<n
.val : Indexn->Bits32

Hints:
Eq (Indexn)
Ord (Indexn)
Show (Indexn)
.val : Indexn->Bits32
Totality: total
Visibility: public export
val : Indexn->Bits32
Totality: total
Visibility: public export
0.prf : ({rec:0} : Indexn) ->val{rec:0}<n
Totality: total
Visibility: public export
0prf : ({rec:0} : Indexn) ->val{rec:0}<n
Totality: total
Visibility: public export
toIndex : Bits32->Maybe (Indexr)
Totality: total
Visibility: export
fromInteger : (n : Integer) -> {auto0_ : castn<r} ->Indexr
Totality: total
Visibility: public export
Ini : {auto0_ : 0<n} ->Indexn
Totality: total
Visibility: public export
0Step1 : Type->Bits32-> (Type->Type) ->Type
Totality: total
Visibility: public export
toState : Indexr->Step1qrs
Totality: total
Visibility: export
dataTransition : Nat->Type->Bits32-> (Type->Type) ->Type
Totality: total
Visibility: public export
Constructors:
Keep : Transitionnqrs
Done : Step1qrs->Transitionnqrs
DoneBS : Step1qrs->Transitionnqrs
Move : Fin (Sn) ->Step1qrs->Transitionnqrs
MoveE : Fin (Sn) ->Transitionnqrs
Bottom : Transitionnqrs
0ByteStep : Nat->Type->Bits32-> (Type->Type) ->Type
  An array of arrays describing a lexer's state machine.

Totality: total
Visibility: public export
0Stepper : Nat->Type->Bits32-> (Type->Type) ->Type
  An array of arrays describing a lexer's state machine.

Totality: total
Visibility: public export
recordDFA : Type->Bits32-> (Type->Type) ->Type
  A discrete finite automaton (DFA) encoded as
an array of state transitions plus an array
describing the terminal token states.

Totality: total
Visibility: public export
Constructor: 
L : (states : Nat) ->Stepperstatesqrs->DFAqrs

Projections:
.next : ({rec:0} : DFAqrs) ->Stepper (states{rec:0}) qrs
  State transitions matrix.

If `cur` is the current state (encoded as a `Fin (S states)`
and `b` is the current input byte, the next state is determined
by `next[cur][b]` (in pseudo C-syntax).
.states : DFAqrs->Nat
  Number of non-zero states in the automaton.
.states : DFAqrs->Nat
  Number of non-zero states in the automaton.

Totality: total
Visibility: public export
states : DFAqrs->Nat
  Number of non-zero states in the automaton.

Totality: total
Visibility: public export
.next : ({rec:0} : DFAqrs) ->Stepper (states{rec:0}) qrs
  State transitions matrix.

If `cur` is the current state (encoded as a `Fin (S states)`
and `b` is the current input byte, the next state is determined
by `next[cur][b]` (in pseudo C-syntax).

Totality: total
Visibility: public export
next : ({rec:0} : DFAqrs) ->Stepper (states{rec:0}) qrs
  State transitions matrix.

If `cur` is the current state (encoded as a `Fin (S states)`
and `b` is the current input byte, the next state is determined
by `next[cur][b]` (in pseudo C-syntax).

Totality: total
Visibility: public export
dataStep : Type->Bits32-> (Type->Type) ->Type
Totality: total
Visibility: public export
Constructors:
Go : Step1qrs->Stepqrs
Rd : Step1qrs->Stepqrs
0Steps : Type->Bits32-> (Type->Type) ->Type
Totality: total
Visibility: public export
byteDFA : TokenMap8 (Stepqrs) ->DFAqrs
  A DFA operating on raw bytes.

Totality: total
Visibility: export
dfa : Stepsqrs->DFAqrs
  A utf-8 aware DFA operating on text.

Totality: total
Visibility: export