Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data ObjectProperty
- type IsPrefix = Bool
- data SwitchCase
- type ExpressionOpt = Maybe Expression
- type StatementOpt = Maybe Statement
- data ForStyle
- data ImportClause
- data BindExpression
- data Expression
- = LThis
- | LNull
- | LI String
- | LN String
- | LS String
- | LTS String
- | LB Bool
- | RegExp String String
- | UnaryUpdate String IsPrefix Expression
- | Unary String Expression
- | Spread Expression
- | 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 #
type ExpressionOpt = Maybe Expression Source #
type StatementOpt = Maybe Statement Source #
data ImportClause Source #
import and export binds * as identifier A, ... {x,...}
data BindExpression Source #
data Expression Source #