Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data SutState = SutState {
- lexerPosn :: SutPosn
- lexerInput :: String
- lexerChar :: Char
- lexerStateCode :: Int
- lexerBytes :: [Word8]
- lexerDepth :: Int
- lexerString :: String
- lexerStringOn :: Bool
- parserTable :: SymTable
- parserStack :: [Scope]
- parserScopes :: Set Scope
- parserOffset :: Offset
- parserOffsetStk :: [Offset]
- parserNextScope :: Scope
- mainModule :: SutModule
- mipsRegDescriptors :: RegDescriptors
- mipsVarDescriptors :: VarDescriptors
- tacTable :: TACTable
- tacNext :: Int
- tacLabel :: Int
- typesGraph :: TypeGraph
- typesNextID :: SutTypeID
- logVerbose :: Bool
- errorCode :: SutError
- initialSutoriState :: SutState
- parserCurrentScope :: SutState -> Scope
Documentation
Monadic Lexer/Parser current state.
SutState | Current error code, if any |
|
initialSutoriState :: SutState Source #
Initial state of a Sutori parsescanrun
parserCurrentScope :: SutState -> Scope Source #
Get the current open scope