WebBits-0.15: JavaScript analysis tools

BrownPLT.JavaScript.Syntax

Description

JavaScript's syntax.

Documentation

data VarDecl a Source

Constructors

VarDecl a (Id a) (Maybe (Expression a)) 

data JavaScript a Source

Constructors

Script a [Statement a]

A script in script ... /script tags. This may seem a little silly, but the Flapjax analogue has an inline variant and attribute-inline variant.

data Id a Source

Constructors

Id a String 

Instances

Functor Id 
Typeable1 Id 
Foldable Id 
Traversable Id 
Eq a => Eq (Id a) 
Data a => Data (Id a) 
Ord a => Ord (Id a) 
Show a => Show (Id a) 

data Prop a Source

Constructors

PropId a (Id a) 
PropString a String 
PropNum a Integer 

Instances

Functor Prop 
Typeable1 Prop 
Foldable Prop 
Traversable Prop 
Eq a => Eq (Prop a) 
Data a => Data (Prop a) 
Ord a => Ord (Prop a) 
Show a => Show (Prop a)