Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ObjectProperty
- type IsPrefix = Bool
- data SwitchCase
- type ExpressionOpt = Maybe Expression
- type StatementOpt = Maybe Statement
- data ForStyle
- data ImportClause
- data BindExpression
- data TemplateString
- data Expression
- = LThis
- | LNull
- | LI String
- | LN String
- | LS String
- | LTS [TemplateString]
- | LB Bool
- | RegExp String String
- | UnaryUpdate String IsPrefix Expression
- | Unary String Expression
- | Spread Expression
- | Elision
- | LA [Expression]
- | LO [ObjectProperty]
- | LP Expression
- | Condition Expression Expression Expression
- | Assignment String Expression Expression
- | Operation String Expression Expression
- | Function ExpressionOpt [BindExpression] Statement
- | Arrow (Either BindExpression [BindExpression]) Statement
- | Class ExpressionOpt ExpressionOpt Statement
- | ClassProperty Expression Expression
- | PropertyMethod Expression [BindExpression] Statement
- | ClassStatic Expression
- | ClassGetMethod Expression
- | ClassSetMethod Expression
- | Async Expression
- | Dot Expression Expression
- | Acc Expression Expression
- | FCall Expression [Expression]
- | New Expression
- | Comma Expression Expression
- | Empty
- | Comment String
- | MultilineComment String
- data Statement
- = SExp Expression
- | SImportFile Expression
- | SImport (Either ImportClause [ImportClause]) Expression
- | SRExport Expression Expression
- | SExport Statement
- | SExportDefault Expression
- | SC String ExpressionOpt Statement
- | SF String [BindExpression] Statement
- | SVariable String [BindExpression]
- | SWhile [Expression] Statement
- | SDoWhile Statement [Expression]
- | SFor ForStyle Statement
- | SLabel Expression Statement
- | SDebugger
- | SContinue ExpressionOpt
- | SBreak ExpressionOpt
- | SBlock [Statement]
- | SIf Expression Statement StatementOpt
- | SSwitch Expression [Statement]
- | SCase [SwitchCase] [Statement]
- | SThrow Expression
- | STry Statement Statement StatementOpt
- | SCatch ExpressionOpt Statement
- | SFinally Statement
- | SReturn Expression
- | SWith Expression Statement
Documentation
data ObjectProperty Source #
Instances
Show ObjectProperty Source # | |
Defined in Language.JS.Types showsPrec :: Int -> ObjectProperty -> ShowS # show :: ObjectProperty -> String # showList :: [ObjectProperty] -> ShowS # |
data SwitchCase Source #
Instances
Show SwitchCase Source # | |
Defined in Language.JS.Types showsPrec :: Int -> SwitchCase -> ShowS # show :: SwitchCase -> String # showList :: [SwitchCase] -> ShowS # |
type ExpressionOpt = Maybe Expression Source #
type StatementOpt = Maybe Statement Source #
data ImportClause Source #
import and export binds * as identifier A, ... {x,...}
Instances
Show ImportClause Source # | |
Defined in Language.JS.Types showsPrec :: Int -> ImportClause -> ShowS # show :: ImportClause -> String # showList :: [ImportClause] -> ShowS # |
data BindExpression Source #
Instances
Show BindExpression Source # | |
Defined in Language.JS.Types showsPrec :: Int -> BindExpression -> ShowS # show :: BindExpression -> String # showList :: [BindExpression] -> ShowS # |
data TemplateString Source #
Instances
Show TemplateString Source # | |
Defined in Language.JS.Types showsPrec :: Int -> TemplateString -> ShowS # show :: TemplateString -> String # showList :: [TemplateString] -> ShowS # |
data Expression Source #
Instances
Show Expression Source # | |
Defined in Language.JS.Types showsPrec :: Int -> Expression -> ShowS # show :: Expression -> String # showList :: [Expression] -> ShowS # |