Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Gram_Reader st g where
- class Gram_State st g where
- class Gram_Error err g where
- class (Gram_Reader (Source_Input src) g, SourceInj (Span (Source_Input src)) src) => Gram_Source src g where
Type Gram_Reader
class Gram_Reader st g where Source #
Gram_Reader st EBNF Source # | |
Gram_Reader st RuleEBNF Source # | |
Gram_Reader st g => Gram_Reader st (CF g) Source # | |
Gram_Reader st g => Gram_Reader st (Reg lr g) Source # | |
Type Gram_State
class Gram_State st g where Source #
stateBefore :: g (st -> (st, a)) -> g a Source #
stateAfter :: g (st -> (st, a)) -> g a Source #
getBefore :: g (st -> a) -> g a Source #
getAfter :: g (st -> a) -> g a Source #
put :: g (st, a) -> g a Source #
getBefore :: Functor g => g (st -> a) -> g a Source #
Gram_State st EBNF Source # | |
Gram_State st RuleEBNF Source # | |
Gram_State st g => Gram_State st (CF g) Source # | |
Gram_State st g => Gram_State st (Reg lr g) Source # | |
Class Gram_Error
class Gram_Error err g where Source #
Symantics for handling errors at the semantic level (not the syntaxic one).
Gram_Error err EBNF Source # | |
Gram_Error err RuleEBNF Source # | |
Gram_Error err g => Gram_Error err (CF g) Source # | |
Gram_Error err g => Gram_Error err (Reg lr g) Source # | |
Class Gram_Source
class (Gram_Reader (Source_Input src) g, SourceInj (Span (Source_Input src)) src) => Gram_Source src g where Source #
(Gram_Reader (Source_Input src) g, SourceInj (Span (Source_Input src)) src) => Gram_Source src g Source # | |