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

Safe HaskellSafe-Inferred

Language.ECMAScript3.Analysis.Environment

Description

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

A lexical environment analysis of ECMAScript programs

Synopsis

Documentation

envSource

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]