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

Safe HaskellNone
LanguageHaskell2010

Language.ECMAScript3.Analysis.Environment

Description

Deprecated: Use LexicalEnvironment from package 'language-ecmascript-analysis'

A lexical environment analysis of ECMAScript programs

Synopsis

Documentation

env Source

Arguments

:: Map String SourcePos

browser/testing environment

-> [Statement SourcePos] 
-> (EnvTree, Map String SourcePos) 

data EnvTree Source

The statically-determinate lexical structure of a JavaScript program.

Constructors

EnvTree (Map String SourcePos) [EnvTree]