ModuleCabal-syntax-3.12.1.0Haskell2010
Distribution.Fields.LexerMonad
- 6 types
- 11 values
- PackageCabal-syntax-3.12.1.0
- Exports17
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceLexerMonad.hs
Constructors
LexStatecurPos :: !Positionposition at current input location
curInput :: !InputStreamthe current input
curCode :: !StartCodelexer code
warnings :: [LexWarning]
Execute the given lexer on the supplied input stream.
Constructors
Instances1Show
Show LexWarningDefined in Cabal-syntax-3.12.1.0 · Distribution.Fields.LexerMonad
Constructors
LexWarningNBSPEncountered non breaking space
LexWarningBOMBOM at the start of the cabal file
LexWarningTabLeading tags
LexInconsistentIndentationindentation decreases
LexBracesBrace syntax used
Instances3Eq, Ord, Show
Eq LexWarningTypeDefined in Cabal-syntax-3.12.1.0 · Distribution.Fields.LexerMonadOrd LexWarningTypeDefined in Cabal-syntax-3.12.1.0 · Distribution.Fields.LexerMonadShow LexWarningTypeDefined in Cabal-syntax-3.12.1.0 · Distribution.Fields.LexerMonad
Add warning at the current position
Add warning at specific position