| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PureScript.Ide.Externs
- type ExternParse = Either ParseError [ExternDecl]
- data ExternDecl
- type ModuleIdent = Text
- type DeclIdent = Text
- type Type = Text
- data Fixity
- readExternFile :: FilePath -> IO ExternParse
- parseExtern :: Text -> Either ParseError ExternDecl
- parseExternDecl :: Parser ExternDecl
- typeParse :: Text -> Either Text (Text, Text)
Documentation
type ExternParse = Either ParseError [ExternDecl] Source
data ExternDecl Source
Constructors
| FunctionDecl | |
Fields | |
| FixityDeclaration Fixity Int DeclIdent | |
| Dependency | |
Fields | |
| ModuleDecl ModuleIdent [DeclIdent] | |
| DataDecl DeclIdent Text | |
Instances
type ModuleIdent = Text Source
readExternFile :: FilePath -> IO ExternParse Source
Parses an extern file into the ExternDecl format.