Portability | portable |
---|---|
Stability | provisional |
Maintainer | derek.a.elkins@gmail.com |
Safe Haskell | Safe-Infered |
Parsec compatibility module
- haskellDef :: LanguageDef st
- haskell :: TokenParser st
- mondrianDef :: LanguageDef st
- mondrian :: TokenParser st
- emptyDef :: LanguageDef st
- haskellStyle :: LanguageDef st
- javaStyle :: LanguageDef st
- type LanguageDef st = GenLanguageDef String st Identity
- data GenLanguageDef s u m = LanguageDef {
- commentStart :: String
- commentEnd :: String
- commentLine :: String
- nestedComments :: Bool
- identStart :: ParsecT s u m Char
- identLetter :: ParsecT s u m Char
- opStart :: ParsecT s u m Char
- opLetter :: ParsecT s u m Char
- reservedNames :: [String]
- reservedOpNames :: [String]
- caseSensitive :: Bool
Documentation
haskellDef :: LanguageDef stSource
The language definition for the Haskell language.
haskell :: TokenParser stSource
A lexer for the haskell language.
mondrianDef :: LanguageDef stSource
The language definition for the language Mondrian.
mondrian :: TokenParser stSource
A lexer for the mondrian language.
emptyDef :: LanguageDef stSource
haskellStyle :: LanguageDef stSource
This is a minimal token definition for Haskell style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.
javaStyle :: LanguageDef stSource
This is a minimal token definition for Java style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.
type LanguageDef st = GenLanguageDef String st IdentitySource
data GenLanguageDef s u m Source
The GenLanguageDef
type is a record that contains all parameterizable
features of the Text.Parsec.Token module. The module Text.Parsec.Language
contains some default definitions.
LanguageDef | |
|