purescript-0.5.7: PureScript Programming Language Compiler

Safe HaskellNone

Language.PureScript.Parser.Declarations

Description

Parsers for module definitions and declarations

Synopsis

Documentation

parseDeclaration :: Parsec String ParseState DeclarationSource

Parse a single declaration

parseModule :: Parsec String ParseState ModuleSource

Parse a module header and a collection of declarations

parseModules :: Parsec String ParseState [Module]Source

Parse a collection of modules

parseValue :: Parsec String ParseState ExprSource

Parse a value

parseGuard :: Parsec String ParseState GuardSource

Parse a guard

parseBinder :: Parsec String ParseState BinderSource

Parse a binder

parseBinderNoParens :: Parsec String ParseState BinderSource

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