packages feed

language-javascript 0.4.0 → 0.4.1

raw patch · 3 files changed

+4/−4 lines, 3 files

Files

README view
@@ -45,6 +45,8 @@  Changes +0.4.1 Expose AST.Node as well.+ 0.4.0 Updated JSNode to include location information, and made the parse more true to the original by leaving blocks as such, not replacing with ';'.  0.3.0 ECMA-262 edition 5 compliance.  Required adding JSFunctionExpression and JSPropertyAccessor to the AST.
language-javascript.cabal view
@@ -1,5 +1,5 @@ Name:                language-javascript-Version:             0.4.0+Version:             0.4.1 Synopsis:            Parser for JavaScript Description:         Parses Javascript into an Abstract Syntax Tree (AST).  Initially intended as frontend to hjsmin. Homepage:            https://github.com/alanz/language-javascript
src/Language/JavaScript/Parser.hs view
@@ -6,12 +6,10 @@        , PA.showStripped          , PA.showStrippedMaybe          , JSNode(..)  +       , Node(..)          , ParseError(..)          -- Source locations          , AlexPosn(..)-       -- , SrcLocation (..)-       -- , SrcSpan (..)-       -- , Span (..)        -- ParserMonad          , P          , ParseState (..)