purescript-0.6.5: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.Parser.Declarations

Description

Parsers for module definitions and declarations

Synopsis

Documentation

parseDeclaration :: TokenParser Declaration Source

Parse a single declaration

parseModule :: TokenParser Module Source

Parse a module header and a collection of declarations

parseModules :: TokenParser [Module] Source

Parse a collection of modules

parseModulesFromFiles :: (k -> String) -> [(k, String)] -> Either ParseError [(k, Module)] Source

Parse a collection of modules

parseBinderNoParens :: TokenParser Binder Source

Parse a binder as it would appear in a top level declaration