| Safe Haskell | Safe-Inferred |
|---|
Text.HPaco.Readers.Paco.ParserInternals
- data PacoState = PacoState {
- psBasePath :: FilePath
- psDefs :: [(String, Statement)]
- psDeps :: [String]
- psIncludeExtension :: Maybe String
- psHandleInclude :: Reader
- psFlavor :: PacoFlavor
- defaultPacoState :: PacoState
- data PacoFlavor = PacoFlavor {
- pfCommentMarkers :: (String, String)
- pfInterpolationMarkers :: (String, String)
- pfTagMarkers :: (String, String)
- defaultPacoFlavor :: PacoFlavor
- jinjaPacoFlavor :: PacoFlavor
- cssPacoFlavor :: PacoFlavor
- data ParseError
- type Parser a = ParsecT String PacoState IO a
- addDef :: String -> Statement -> Parser ()
- resolveDef :: String -> Parser Statement
- fillExtension :: FilePath -> String -> FilePath
Documentation
Constructors
| PacoState | |
Fields
| |
data PacoFlavor Source
Constructors
| PacoFlavor | |
Fields
| |
data ParseError
The abstract data type ParseError represents parse errors. It
provides the source position (SourcePos) of the error
and a list of error messages (Message). A ParseError
can be returned by the function parse. ParseError is an
instance of the Show class.
Instances
fillExtension :: FilePath -> String -> FilePathSource