language-ecmascript-0.16.2: JavaScript parser and pretty-printer library

Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.ECMAScript3.Lexer

Description

This isn't a lexer in the sense that it provides a JavaScript token-stream. This module provides character-parsers for various JavaScript tokens.

Synopsis

Documentation

decLit :: Stream s Identity Char => Parser s (String, Bool) Source

returns (s, True) if the number is an integer, an (s, False) otherwise