Portability | GHC-only |
---|---|
Stability | experimental |
Maintainer | fontaine@cs.uni-duesseldorf.de |
Safe Haskell | None |
SableCC.ParserTypes
Description
All types used by the Haskell implementation of the parser and lexer. This also defines the types of the tables that are exported by the Haskell modules that the tool generates.
Documentation
Constructors
Mode | |
Fields |
Constructors
State | |
Fields |
data TransitionTarget Source
Constructors
Epsilon LexStateID | |
NotEpsilon LexStateID |
data LexerState Source
Constructors
LexerState | |
Fields
|
type SToken = (LexTokenID, String)Source
data IntervalTree Source
Constructors
IntervalNode IntervalTree Char TransitionTarget Char IntervalTree | |
IntervalLeaf |
Instances
newtype ParserStateID Source
Constructors
ParserStateID | |
Fields |
Constructors
GotoMap | |
Fields |
Constructors
GotoIndex | |
Fields
|
data TransitionList Source
Constructors
TransitionList | |
Fields |
Constructors
Reduction | |
Fields
|
type PToken = (ParserTokenID, String)Source
newtype ParserTokenID Source
Constructors
ParserTokenID Int |