|
Language.HJavaScript.Syntax | Stability | experimental | Maintainer | Joel Bjornson joel.bjornson@gmail.com
Niklas Broberg nibro@cs.chalmers.se |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Primitive type classes.
|
|
|
|
|
Fundamental data types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data types and classes for object representation.
|
|
|
|
|
|
Class for binding objects with constructors. E.g. o = new Date();
|
|
|
|
Class for derefable data types, used to allow the creation of
dereferencing objects. Examples: Math.random() or document.write()
|
|
|
Misc
|
|
|
Assign Operator
| Constructors | |
|
|
|
Binary Operator
| Constructors | |
|
|
|
Class for expression that may be plussed.
Examples: 1 + 2, ha + skell.
|
|
|
|
Post or Pre prefix , i.e. --x or x++
| Constructors | |
|
|
|
|
|
|
Allows values to be compared to JNull. E.g. for checking that
an object is instantiated or is accessible.
|
|
|
|
Class for representing JavaScript features, e.g. names of
objects or functions. Example: window hasFeature alert
|
|
|
|
Class that represents showable types
| | Methods | |
|
|
Types for functions and parameters.
|
|
|
Args represents types that can be passed as arguments to
JavaScript functions.
|
|
|
|
Class for parameter types to JavaScript functions
|
|
|
|
JFormal params represents parameters passed to a function along with their
corresponding types.
| | Methods | mkFParams :: forall b. (a -> b) -> Int -> a | Source |
| | |
|
|
|
class VarsToExps v e | v -> e, e -> v where | Source |
|
|
|
Array representation.
|
|
|
Array representation
| Constructors | |
|
|
Type synonyms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Type classes for expression representation.
|
|
class IsExp e t | e -> t where | Source |
|
Class for representing expressions.
First parameter is the expression, second a TBool for variable or constant.
Third parameter represents the type.
| | Methods | |
|
|
|
Class for JString expressions
| | Methods | |
|
|
|
Class for JBool expressions
| | Methods | |
|
|
|
Class for JInt expressions
| | Methods | |
|
|
|
Class for JFloat expressions
| | Methods | |
|
|
Helper functions
|
|
|
Get the value of a variable.
|
|
|
Generates a Block from a Stmt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Render function producing multi-line pretty-printed JavaScript code.
|
|
|
|
Produced by Haddock version 2.6.1 |