Pugs.Rule.Language

|  | Contents | Index
Pugs.Rule.Language |
Portability | non-portable (uses non-portable module Rule.Token)
Stability | provisional
Maintainer | daan@cs.uu.nl
Description
A helper module that defines some language definitions that can be used to instantiate a token parser (see Rule.Token).
Synopsis
haskellDef :: LanguageDef st
haskell :: TokenParser st
mondrianDef :: LanguageDef st
mondrian :: TokenParser st
emptyDef :: LanguageDef st
haskellStyle :: LanguageDef st
javaStyle :: LanguageDef st
data LanguageDef st = LanguageDef {
commentStart :: String
commentEnd :: String
commentLine :: String
nestedComments :: Bool
identStart :: (CharParser st Char)
identLetter :: (CharParser st Char)
opStart :: (CharParser st Char)
opLetter :: (CharParser st Char)
reservedNames :: [String]
reservedOpNames :: [String]
caseSensitive :: Bool
}
Produced by Haddock version ADDOCK_VERSION